odd@feddit.org to Programming@beehaw.org · 2 months agoGitGud - Master Git Through Playwww.gitmastery.meexternal-linkmessage-square4linkfedilinkarrow-up136arrow-down10file-text
arrow-up136arrow-down1external-linkGitGud - Master Git Through Playwww.gitmastery.meodd@feddit.org to Programming@beehaw.org · 2 months agomessage-square4linkfedilinkfile-text
minus-squareKresten@feddit.dklinkfedilinkarrow-up5·edit-22 months agoIt promotes use of git checkout -b instead of git 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
minus-squareodd@feddit.orgOPlinkfedilinkarrow-up6·edit-22 months agoYou probably want to add an issue to their repo? https://github.com/MikaStiebitz/Git-Gud
minus-squareTehPers@beehaw.orglinkfedilinkEnglisharrow-up4·2 months agoI’m trying to read up on the differences, but is git switch basically just a newer version of git checkout for changing branches? I haven’t had any issues with git checkout before so I’m not sure why it would be an issue.
minus-squareodd@feddit.orgOPlinkfedilinkarrow-up4·edit-22 months agoCheckout 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
It promotes use of
git checkout -b
instead 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?
https://github.com/MikaStiebitz/Git-Gud
I’m trying to read up on the differences, but is
git switch
basically just a newer version ofgit checkout
for changing branches? I haven’t had any issues withgit checkout
before 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