git pull nicht funktioniert

Ich bin nicht mit github. Wir haben git-setup auf unserer Maschine.

Erstellte ich einen Zweig von master genannten experiment. Allerdings, wenn ich versuche, git pull, erhalte ich die folgende Meldung.

> git pull
You asked me to pull without telling me which branch you
want to merge with, and 'branch.experiment.merge' in
your configuration file does not tell me either.    Please
specify which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.

Hier ist das Ergebnis von git remote show origin

> git remote show origin
* remote origin
  Fetch URL: ssh://git.domain.com/var/git/app.git
  Push  URL: ssh://git.domain.com/var/git/app.git
  HEAD branch: master
  Remote branches:

    experiment      tracked
    master          tracked
  Local branches configured for 'git pull':
    master     merges with remote master
  Local refs configured for 'git push':
    experiment pushes to experiment (local out of date)
    master     pushes to master     (up to date)

Als ich die Nachricht oben gelesen-experiment zugeordnet Herkunft/experiment. Und mein lokales repository kennt, dass es veraltet ist. Dann warum bin ich nicht in der Lage, ein git pull?

Dies ist, wie ich bei dieser Zweig

git co -b experiment origin/experiment

InformationsquelleAutor Nick Vanderbilt | 2010-03-12

Schreibe einen Kommentar