[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with git cl
From: |
Reinhold Kainhofer |
Subject: |
Re: Problems with git cl |
Date: |
Wed, 6 Jan 2010 13:35:13 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31-15-generic; KDE/4.3.2; i686; ; ) |
Am Mittwoch, 6. Januar 2010 09:45:20 schrieb Marc Hohl:
> the files, then
>
> $ git commit,
>
> then
>
> $ git format-patch origin
That's not needed for git-cl
> and afterwards
>
> $git cl upload <SHA1>
>
> which I obtained from gitk &
Ah, so there's the misconception:
git-cl does NOT upload the given commit, but rather upload the diff between
the given revision and the current state!
Since you give the revision number of the current state, there are no changes
to be uploaded!
A typical call to git-cl is (to upload all changes compared to the laster git
master)
git cl upload origin/master
or (to upload only the last commit)
git-cl upload HEAD^1
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org