Re: Creating new remote branch in git?

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Smith <greg@2ndQuadrant.com>, pgsql-hackers@postgresql.org
Date: 2011-06-12T23:59:55Z
Lists: pgsql-hackers

Attachments

Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Did the system create the .git/config '[branch "REL9_1_STABLE"]' section
> > for you or did you create it manually?
> 
> git created them for me.  I did no config hacking whatever, but now
> I have:
> 
> [branch "REL9_1_STABLE"]
> 	remote = origin
> 	merge = refs/heads/REL9_1_STABLE
> 	rebase = true
> 
> which exactly parallels the pre-existing entries for the other branches.
> 
> One point that might affect this is that in ~/.gitconfig I have
> 
> [branch]
> 	autosetuprebase = always
> 
> which is as per the setup recommendations on the wiki page.

I have the same in my ~/.gitconfig:

	[branch]
	        autosetuprebase = always

I am attaching my ~/.gitconfig.

Do I need to run this in every branch?

	git config branch.master.rebase true

Right now our wiki only says to run it in the master branch.  I am
attaching my postgresql/.git/config file too.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +