As someone who used SVN a lot before recently starting to use Git more and more, I can say my worst habit is doing git commit
, git push
, git commit
, git push
, git commit
, git push
...
In other words, always pushing after every commit, like I'm still using SVN.
After the initial training required to drop that habit, my workflow is loads faster. One of the built-in boons of Git is the fact that a local commit is so much faster than a remote commit. Another boon is that failing to do near-constant remote commits is probably not going to take your leg off later (especially if it's a small team, even if it's a big team).
For me, this is where there is no real analogy in SVN (that doesn't invoke Jakub Narębski's "big ball of changes" anti-pattern).