Reference the master/main branch with @{m}

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

 



With git, you can reference the upstream branch with the @{upstream}
or @{u} shorthand
(https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches)

With master/main branch varying among repositories, it would be handy
to have a "main/master" reference, such as @{main} or @{m}

Would that make sense?

-- 
Xavier Roche -
xavier.roche@xxxxxxxxxxx



[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