- cross-posted to:
- learn_programming@programming.dev
- cross-posted to:
- learn_programming@programming.dev
geteilt von: https://feddit.org/post/10033814
Excellent new tool to learn Git!
It promotes use of
git checkout -binstead ofgit switch -c:/It’s also buggy, since it doesn’t actually check the end state of the repository, just that the correct input has been made at some point
You probably want to add an issue to their repo?
I’m trying to read up on the differences, but is
git switchbasically just a newer version ofgit checkoutfor changing branches? I haven’t had any issues withgit checkoutbefore so I’m not sure why it would be an issue.Checkout did too many things that weren’t really related. Hence it was split up in different commands. One of them being switch. 😁
Edit: better explanation here https://github.blog/open-source/git/highlights-from-git-2-23/#experimental-alternatives-for-git-checkout



