[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with git

From: Johannes Schindelin
Subject: Re: Help with git
Date: Mon, 7 Jan 2008 19:05:32 +0100 (CET)


On Mon, 7 Jan 2008, Till Rettig wrote:

> David Kastrup schrieb:
> > Till Rettig <address@hidden> writes:
> > 
> > > How can I refer to the remote branch? If I say: git rev-parse 
> > > 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).
> Ok, I discoverd this "origin" and so I get obviously with rev-parse 
> the current commitish. But if I do format-patch I really get ALL patches 
> of the last ..., about 250. I only wanted patches for my own commits. 
> Kind of what differs in my branch to "origin".

You should always test before something like that by looking at those 
commits.  For example "git log origin..", or if you like GUIs more, "gitk 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]