5 ms·
I always, always, always specify the remote and branch name whenever I push. It's saved me many headaches; colleagues often seem annoyed that I do this, but fo
by endlessvoid94 15y ago
I always, always, always specify the remote and branch name whenever I push. It's saved me many headaches; colleagues often seem annoyed that I do this, but for some reason making it a habit has been invaluable.
I do, however, support "getting the defaults right".
- davesims 15y agoI do this as well, but mainly because the default behavior of 'git push' makes me jittery. I might be more comfortable if this change is made. +1
- nightpool 15y agoYou might find it more comfortable if you set your push.default to "nothing", which will stop git from pushing anything if no refspec is given.
- aaronblohowiak 15y ago>colleagues often seem annoyed that I do this What a peculiar thing to be annoyed by. I take it you are pairing?
- endlessvoid94 15y agoI think it seems overly pedantic or something. I could also be imagining things.
- nknight 15y agoYou're not. It seems to drive some people nuts that I obsessively type "vim" instead of "vi" even though most of the time the default differences won't be an issue. It's to be expected, people are threatened by anything different, no reason command line habits should be any different.
- endlessvoid94 15y agoObviously I don't really care if people think it's pedantic. But thanks for your validation...
- RegEx 15y agoPeople get themselves worked up over the silliest things.
- DrStalker 15y agoI do the same thing... the time spent typing the extra characters is trivial, my annoyance when my editor doesn't behave exactly as I expect because I was on a differently configured server is huge by comparison.
- aangjie 15y ago+1. i do the same. Given i end up working on a different variety of unices. it's less of a surprise when i get command not found than dropping to vi and not finding the familiar commands.