Re: git-rebase and reflog

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

 



On Thu, May 1, 2008 at 1:05 AM, Brandon Casey <casey@xxxxxxxxxxxxxxx> wrote:
> Ping Yin wrote:
>
>  > If your are right, how can i look over the branch reflog. I know the
>  > master@{1} syntax, but i want to see master@{1}, master@{2} until
>  > master@{n} in a single command just as how 'git reflog' shows HEAD@{1}
>  >  to HEAD@{n}.
>
>  Have you checked the documentation for 'git reflog'?
>
>  It says:
>
>    The subcommand "show" (which is also the default, in the absence of any
>    subcommands) will take all the normal log options, and show the log of
>    the reference provided in the command-line (or `HEAD`, by default).
>
>  So, 'git reflog show master' should get you what you want.

Oh, i missed that. Maybe we should add an example section.

>
>  You may also want to check out the '-g' option to git-log. For example,
>  'git log -g master'.

Oh, wonderful.

However, i still think the intemediate commits of git-rebase needn't
go into HEAD's reflog because it's totally useless.



-- 
Ping Yin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux