3 ms·
At the end of the day, all I really care about is consistency. It's annoying to switch between projects which use different branch names to describe the same th
by lunias 11mo ago
At the end of the day, all I really care about is consistency. It's annoying to switch between projects which use different branch names to describe the same thing.
That being said, this is a dumb reason to introduce inconsistency.
- LecroJS 11mo agoI had this problem too until I forced myself to use the `gcm` alias from oh-my-zsh’s Git plugin. IIRC it checks out to master if it exists, else main. It has almost entirely removed this distinction from my life.
- weebull 11mo agoI hope you never come across a repo that has an old out-of-date `master` branch, because they moved to using `main` in a bad way.
- Sander_Marechal 11mo agoNo problem. The parent had it the wrong way around. OMZ will use main if it exists, master otherwise. So a bad move still works!
- LecroJS 11mo agoThanks that’s good to know