|
|
|
|
|
by tekkub
5801 days ago
|
|
I find the "too easy to break the repo" argument really quite odd. While I understand why users think this is true, it's actually very far from the case. The git repo is very stable, has built in error checking, and is extremely stubborn about removing data. The working copy on the other hand, is very easy to jack up if you're not sure what your commands are doing. The best thing you can teach someone just learning git is to commit very frequently. If your files are committed, you can undo most any error. But if you've got a dirty working copy, you could lose it if you do something drastic. As an added bonus, this also teaches the user to branch often, and eventually they'll find the majick of `git rebase --interactive` |
|
git branch origin :featureBranch?
disclaimer; don't experiment in a data critical repo