Reference the master/main branch with @{m}
- From
- Xavier Roche <xavier.roche@algolia.com>
- Date
- Apr 24, 2023, 15:11 UTC
- Message-ID
- <CAE9vp3+_PB0_rA81eWVCF=iXnWjrUVY=1G3=1JPUbcaw2u95Rg@mail.gmail.com>
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@algolia.com