Re: [PATCH] Introduce --current option to git-branch builtin command.
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jun 7, 2012, 11:23 UTC
- Message-ID
- <CACsJy8Bn2S4UT5ctMBNNB_Wf8J00nGw38F6O0P-jb3dpXEcs9w@mail.gmail.com>
- In-Reply-To
- <CAECJ0BmcxeS1q8bw4hN9jDja2g8GGzNyN_v7jC3ehOW70x6CRA@mail.gmail.com>
On Thu, Jun 7, 2012 at 2:23 PM, Kenta Murata (村田 賢太) <mrkn@cookpad.com> wrote:
> Introducing --current option to git-branch builtin command. > This option allows us to simply show the current branch name.
or just add an alias that does "git symbolic-ref HEAD" (append "|sed s,^refs/heads,," if you don't like full ref)
-- Duy