Samuel
@samuel.fm
it’s like several commands confusingly crammed into one so it’s been superseded by the more idiomatic git switch and git restore
2 18
Kainoa
Ok, but it realistically completes *one* task: checking out a new branch. Why would that even need to be multiple commands?
1 5
Samuel
because you can also use it to revert a file to given commit which is completely different, hence git restore
1 11
Kainoa
I can't tell if I love or hate this, but I 100% get your point now about using git switch
1 2
Samuel
yep, I mean I still use checkout lol but you can see why they want to split the command out into simpler ones
1 3
Kainoa
The 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
Kainoa
I'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 Cooper
Hey, I just learned git switch was a thing; I mean some things are muscle memory at this point
6
Tuzi
for 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
MrCheeze
Your outie learned the modern commands instead of stubbornly sticking with the first thing they knew
1