From: Nicolas Pitre Date: Wed, 21 Oct 2009 18:14:37 GMT Subject: Re: keeping track of where a patch begins Message-ID: In-Reply-To: <3a69fa7c0910210745r311cf18xf966f5c63650cde6@mail.gmail.com> On Wed, 21 Oct 2009, E R wrote: > What solutions have you come up with to either to catch or prevent > this from happening? It is possible to determine what node a branch > started from? This can be determined by looking at the gitk output. Also 'git merge-base' can give you that node, given the main branch and the topic branch. See documentation about git-merge-base. Then if you need to move a branch to another starting node, then 'git rebase' is what you need (again the git-rebase documentation is pretty detailed). Nicolas