3 ms·
The commands, my god there are numerous commands that have no rhyme or reason. Want to checkout a branch? git checkout <name> Want to make a branch? g
by Ygg2 13y ago
The commands, my god there are numerous commands that have no rhyme or reason.
Want to checkout a branch?
git checkout <name>
Want to make a branch?
git checkout -b <name>
Want to reset a file?
git checkout -- <file_name>
Want to make a sandwich?
git checkout ++D@A#32
Want to rebuild universe from Big Bang?
git checkout 0 --rebuild-universe
Add to this, duplicated commands, arcane commands (hello fsck --lost-found), commands that seem deceptively similar but aren't, doesn't work out of the box like hg, doesn't work on Windows etc.
I love git, but its CLI is horribad. And that is after most of weird/confusing stuff was removed...
Git, like Linux is a power tool. It's like those drills that can drill through solid rock easy, but if they jam, they'll spin you around.