git pull not working
Posted
by dorelal
on Stack Overflow
See other posts from Stack Overflow
or by dorelal
Published on 2010-03-12T15:13:51Z
Indexed on
2010/03/12
15:17 UTC
Read the original article
Hit count: 507
git
I am not using github. We have git setup on our machine.
I created a branch from master called experiment. However when I am trying to do git pull I am getting following message.
> 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.
Here is result of 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)
As I read the message above experiment is mapped to origin/experiment. And my local repository knows that it is out of date. Then why I am not able to do git pull?
© Stack Overflow or respective owner