[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with git
From: |
David Kastrup |
Subject: |
Re: Help with git |
Date: |
Mon, 07 Jan 2008 18:13:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
Till Rettig <address@hidden> writes:
> Hello,
>
> I realized that I did some commits to my local copy of master, but I
> don't get the remote revisions to make a patch out of it.
> That is how I pull:
> git pull git://git.sv.gnu.org/lilypond.git
>
> Obviously I forgot to name my local branch (?) -- when I call git
> show-branch, it says: [master] Merge git://git.sv.gnu.org/lilypond
> How can I refer to the remote branch? If I say: git rev-parse
> git://git.sv.gnu.org/lilypond.git
> I get only the message that the revision is unknown, the same for
> format-patch...
Try
git rebase origin
and then you can do a git-format-patch origin afterwards (in case you
want all your commits on top of the origin).
> I don't find anything helpfull at the git documentation at the moment.
Uh, that is the basic workflow, likely described pretty much anywhere in
the tutorial.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum