On 11/04/2011 1:15 pm, Mohith Thimmaiah wrote:
Im new to git :)
I have a repo which I have exposed via http at careerinsight.org/
git_repo/InAJiffy/ so that other who need to access it via http have a
way to get to it
Now I am able to clone the git repo locally (without http) and also
Now strangely enough all my new changes are there in the clone done
locally - but the clone over http seems to be an old one
Please help !!! Im confused
1. Why are the 2 cloned repos different
> 2. How can I tell the clone over http command to get the same stuff as
> the clone done locally
Take a look at  and .
When you clone (or fetch) a repository over the git protocol, a program
on your computer (git-fetch-pack) and a similar one on the server
(git-upload-pack) coordinate to figure out exactly what commits (roughly
speaking) needs to be sent to you.
HTTP, however, is a "dumb" protocol, meaning that this approach cannot
Therefore, some auxiliary files need to be present on the server, to
allow your client to figure out what commits it needs to request.
These files aren't generated by default -- you need to run git
update-server-info after every commit in order to generate them. Have a
look at the default post-update hook for an easy way to do this.
In your case, it looks like the auxiliary files are out of date, meaning
that a fetch over HTTP won't fetch any commits since the auxiliary files
Hope this solves your problem,
You received this message because you are subscribed to the Google Groups "Git for
human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at