3 points | by lostmsu 7 hours ago
3 comments
One [1] possible solution. There are a bunch of threads/comments on HN about this as well but some of them can stir up ugly debates so I will let you find them in the search function.
[1] - https://stackoverflow.com/questions/66232497/git-alias-which...
How hard is it run a command to ask the default branch, or to ask your ai? There are many more default branch names people use besides these two.
It adds up if you have to do it daily
One [1] possible solution. There are a bunch of threads/comments on HN about this as well but some of them can stir up ugly debates so I will let you find them in the search function.
[1] - https://stackoverflow.com/questions/66232497/git-alias-which...
How hard is it run a command to ask the default branch, or to ask your ai? There are many more default branch names people use besides these two.
It adds up if you have to do it daily