7 ms·
you can use git switch to change branches
by Zardoz84 2mo ago
you can use git switch to change branches
- dundarious 2mo agoI know, I use switch and restore now (for the most part). I'm explaining how knowing the internals does help understand the 2 use-cases being originally implemented via 1 command, i.e., checkout. The post I was responding to said the checkout case ran counter to the idea that knowing the internals helps use the commands, when it's actually a pretty standard case where it does help.
- mlrtime 2mo agoEveryone learns git checkout <file> real quick after you lose that uncommitted change. I learned the hard way.