Re: [RFC] add detached HEAD to --all listing

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

 



On Wed, Aug 27, 2014 at 05:18:21PM +0300, Max Kirillov wrote:

> Could HEAD be added to list of heads while using --all switch?

To which command?

If you mean "git branch", I think the detached HEAD is already
mentioned:

  $ git branch
  * (detached from 1290ebd)
    master

If you mean "git log", I think it is included there, too:

  $ git log --decorate --oneline --all
  685450f (HEAD) more
  1290ebd (master) foo

Is there some other command you have in mind? git-push, maybe?

-Peff
--
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]