[dmd-internals] Git question: How do I push a *single* branch?

Christian Kamm kamm at incasoftware.de
Mon Nov 21 10:26:21 PST 2011


On Monday 21 November 2011 10:01 Don Clugston wrote:
>  I can't see anything in the manual for git push that explains this.
> How can I push branch2 *only* ?

I recommend setting push.default to tracking, then you can just use 'git push' 
while on branch2 to push it to its upstream branch.

We have a wiki page about git setup that also has other recommendations like 
enabling rerere and setting core.autocrlf:
http://wiki.qt-project.org/Setting_up_Gerrit#Configuring_Git .

Cheers,
Christian


More information about the dmd-internals mailing list