Samuel18 Feb 2025it’s like several commands confusingly crammed into one so it’s been superseded by the more idiomatic git switch and git restore 2 18
Kainoa18 Feb 2025Ok, but it realistically completes *one* task: checking out a new branch. Why would that even need to be multiple commands? 1 5
Samuel@samuel.fmbecause you can also use it to revert a file to given commit which is completely different, hence git restore 1 11
Kainoa18 Feb 2025I can't tell if I love or hate this, but I 100% get your point now about using git switch 1 2
Samuel18 Feb 2025yep, I mean I still use checkout lol but you can see why they want to split the command out into simpler ones 1 3
Kainoa18 Feb 2025The git project needs to have a page that's just "The year is 2025, use these commands please" so I can stop being dumb :P 2
Kainoa18 Feb 2025I'm gonna have some real old habits to break, I learned how to use the git CLI probably 6-7 years ago when I was still a dumb teenager and I still use it mostly the same way....... 2 9
Ian Cooper18 Feb 2025Hey, I just learned git switch was a thing; I mean some things are muscle memory at this point 6
Tuzi18 Feb 2025for what it's worth that's more CLI than the average developer knows, the "senior" dev at my place still manages to fuck up the most basic merges
Erica Marigold 🐰18 Feb 2025You can checkout a rev, revert files, and a way too many other things fwiw 2