[git-users] Re: Is there a short-hand for referring to the first commit?

2014-09-13 Thread Konstantin Khomoutov
On Friday, September 12, 2014 11:36:05 PM UTC+4, Sam Roberts wrote: There are shorthands for going back from HEAD, but not for the initial commit, AFAICT. I often want to do this when rebasing, and have come to tagging the initial commit in my repos with INITIAL. Is there a better

Re: [git-users] Re: Is there a short-hand for referring to the first commit?

2014-09-13 Thread Sam Roberts
On Sat, Sep 13, 2014 at 1:40 AM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: git-rebase supports the --root [BRANCH] command-line option to refer to the root commit of the current (or specified) branch. See [1] for more info. Exactly what I wanted, thank you, Konstantin. Sam