4 ms·
I've had to teach git to several people. Here is what i teach: - never force push (with exceptions) - don't use reset (with exceptions) - don't commit to maste
by rhwelc 8y ago
I've had to teach git to several people. Here is what i teach:
- never force push (with exceptions)
- don't use reset (with exceptions)
- don't commit to master
- stop immediately if git tells you, you have 200 changes
Aside from that, people don't really seem to have trouble. Git is pretty functional with just add, commit, push, pull. People learn more commands as they need them.
This post was humor
- Accacin 8y agoHahah, once at work a guy force pushed to a branch that was just about to be merged. This almost resulted in some guys work being lost but luckily it was recovered. This was immediately followed by another dev writing 'DO NOT FORCE PUSH' on a post-it and sticking it to his monitor :D Edit: I meant merged not committed.