[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with git push and pull
From: |
Keith OHara |
Subject: |
Re: problems with git push and pull |
Date: |
Sun, 21 Aug 2011 20:16:05 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Janek Warchoł <janek.lilypond <at> gmail.com> writes:
> > I would expect another line in your configuration, added below:
> >
> >> [remote "origin"]
> >> url = ssh://janekw <at> git.sv.gnu.org/srv/git/lilypond.git
> > fetch = +refs/heads/master:refs/remotes/origin/master
> >
> > Probably you want to go through CG 3.2.2, Downloading Remote Branches,
> > to make sure everything you set up there is still set up.
>
> I'm not sure - can i go through all these (i.e. call 'git remote add
> -ft master -m master \ origin git://git.sv.gnu.org/lilypond.git/'
> without affecting my work on currently existing local branches?
> Or should i simply add that line to .git/config?
>
Your symptoms are consistent with having the missing line "fetch ="
Repeating `git remote add ... origin` will warn you that you already have
a remote called "origin". Probably there is a way to restore the line
with a git command, maybe in `man git remote`
I would `man git remote` and read until I either learn how to use the
git toolkit, or until I get enout confidence to add the line directly
to .git/config