I created a local branch like
$ git branch group_contact_form
I made some changes and then sent the branch to the remote one, for example:
$ git push origin group_contact_form
I can happily continue push-commits, and $ git branch -a displays my local and remote branch
* group_contact_form master remotes/origin/HEAD -> origin/master ... remotes/origin/group_contact_form ...
But, when I try to pull using $ git pull :
fatal: 'origin/group_contact_form' does not appear to be a git repository fatal: The remote end hung up unexpectedly
My .git/config looks like this:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = database1:/var/git/repo_name.git [branch "master"] remote = origin merge = refs/heads/master [branch "group_contact_form"] remote = origin/group_contact_form merge = refs/heads/master
What did I do wrong?
git
Ben griffiths
source share