Git confusion

Ian Lynagh ian at well-typed.com
Mon Feb 4 20:12:19 CET 2013


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




More information about the ghc-devs mailing list