I installed bonobo git server on windows 7.
I created a new repository "SFK" through that bonobo.
Then I cloned into that like:
git clone http://localhost/Bonobo.Git.Server/SFK.git
git add "trans.cs"
git commit -m "added"
git push http://localhost/Bonobo.Git.Server/SFK.git
Everything works.
Bit When I try to pull using
git pull http://localhost/Bonobo.Git.Server/SFK.git
It gives this error
fatal:
Couldn't find remote ref HE
Unexpected end of command stream
Where am I going wrong? I am new to this git and bonobo. please suggest how to rectify this.
UPDATE:
I tried this after push.
git config --global pull.default current
git config --global push.default current
It worked.
I tried this after push.
I tried this command after i made pull..
Then when i pushed it it works.. Still i need to know the scene behind this ?
Really this is alone reason or ?
If someone figure it please give a reply..
Those settings allow git to know what to push to or what to pull from:
It should only be:
(I am not aware of that setting for pull)
I would recommend:
So:
After that, a simple
git push
will be enough: see "Why do I need to explicitly push a new branch?" for more.