templates: use github default branch instead of hardcoded main
#15254
Replies: 1 comment
|
When no A small note on "git tracks the repository default branch": git itself has no such setting. A remote repository has a In the meantime, you can:
Closing as duplicate in favour of: |
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi,
I used to call my default git branch
masterso I've created my custom quarto template like this and have noticed that it doesn't work.It turned out that I had to add
@masterto make it work.Adding the
mainbranch helped as well.Because git tracks repository default branch, there is no need in my opinion to hardcode
mainas the default branch.All reactions