You can you -t when creating a branch to do what you want. Or for an existing branch you can do it manually. i.e:
git config branch.master.remote origin git config branch.master.merge refs/heads/master Which should give you the equivalent of a branch created with -t. On 04/02/13 20:12, Ian Lynagh wrote: > > Hi all, > > If I do > git clone darcs.haskell.org:/srv/darcs/ghc.git > cd ghc > git show origin > then the output is > [...] > Local branch configured for 'git pull': > master merges with remote master > [...] > > However, none of: > git remote rm origin > git remote add origin darcs.haskell.org:/srv/darcs/ghc.git > git remote show origin > > git remote rm origin > git remote add origin darcs.haskell.org:/srv/darcs/ghc.git -m master > git remote show origin > > git remote rm origin > git remote add origin darcs.haskell.org:/srv/darcs/ghc.git -t master > git remote show origin > > git remote rm origin > git remote add origin darcs.haskell.org:/srv/darcs/ghc.git -t master -m > master > git remote show origin > have the "Local branch configured for 'git pull':" section. > > So having done "git remote rm origin", how do I configure the git pull > branches again? > > > Thanks > Ian > > > _______________________________________________ > ghc-devs mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/ghc-devs > -- CJ van den Berg mailto:[email protected] xmpp:[email protected] _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
