<html><body><div>On Oct 08, 2013, at 10:25 AM, Jonathan M Davis <jmdavisProg@gmx.com> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"> That's perfectly fine as long as it's to your branch (which it normally would <br> be for a PR). The problem is when it's done to master. However, I didn't know <br> that you could get away with doing a push without listing the target branch. I <br> always list the target branch, which is less error-prone, since you're never <br> going to push -f to master.</div></div></blockquote><span><br>It depends on your git settings. You can tell git to either push all your branches </span><span><span>(that have a matching branch on the remote)</span> when doing "git push" or just push the active branch. There are couple more alternatives as well.<br><br>See the first four examples here:<br><br>https://www.kernel.org/pub/software/scm/git/docs/git-push.html#_examples<br><br>Have a look at this as well:<br><br>https://www.kernel.org/pub/software/scm/git/docs/git-config.html<br><br>Search for "push.default". The default value of this setting was/will be changed in Git 2.0.<br></span><br>--<br>/Jacob Carlborg<br></div></div></body></html>