From: Stephen Bash Date: Mon, 27 Sep 2010 16:14:01 GMT Subject: Re: git push on tracking branches Message-ID: <29138507.371458.1285604041100.JavaMail.root@mail.hq.genarts.com> In-Reply-To: <20100927160548.GA10256@sigill.intra.peff.net> ----- Original Message ----- > From: "Jeff King" > To: "Stephen Bash" > Cc: "Git Mailing List" > Sent: Monday, September 27, 2010 12:05:48 PM > Subject: Re: git push on tracking branches > On Mon, Sep 27, 2010 at 12:00:41PM -0400, Stephen Bash wrote: > > > Now, your local branch sf will automatically push to and pull from > > origin/serverfix." > > That has never been the case by default. Push has always defaulted to > pushing all matching branches (so of course if you use the same name, > it > will end up pushing to the tracking branch). However, you can do: > > git config --global push.default tracking > > to explicitly change the default to push the current branch to its > upstream. See the entry for "push.default" in "git help config". Thanks for the clarification! Stephen