2 ms·
Hilarious! Most git tutorials cover how to pull, commit, push, and maybe merge. I think what is missing from most git tutorials is just how to get the repositor
by kjeetgill 8y ago
Hilarious! Most git tutorials cover how to pull, commit, push, and maybe merge. I think what is missing from most git tutorials is just how to get the repository into a good state if you're confused.
git commit -am "Oh No" && git branch BACKUP && git checkout origin/master -b attempt2; # EZ PZ
The BEST thing about git is that you can easily do the equivalent of save everything (commit), back it up (branch), and pull up a clean version (checkout). What they're describing should be the selling point of git!