3 ms·
You are probably missing "git add" but otherwise, it is fine... unless you fuck up. Unfucking thing is what of most of my knowledge of git goes to. Committing
by GuB-42 3y ago
You are probably missing "git add" but otherwise, it is fine... unless you fuck up.
Unfucking thing is what of most of my knowledge of git goes to. Committing in the wrong branch, the wrong files, starting from the wrong commit, etc... Before you push, almost all mistakes are fixable, but it requires knowing a few more commands.
Then there are the project specific things. For instance, I worked on a project where we didn't have a central server we could push to and pull from (airgap). So we had to work with bundles. Git does that really well (it really is decentralized), but it is uncommon. Some people prefer a rebase-based workflow, some use cherry-picking extensively, some projects are more prone to conflicts than others, etc...