Multi-level clones with Git?
- by Chad Johnson
So, I'm thinking of having the following centralized setup with Git (each of these are clones):
stable
development
developer1
developer2
developer3
So, I created my stable repository
git --bare init
made the 'development' clone
git clone ssh://host.name//path/to/stable/project.git development
and made a 'developer' clone
git clone ssh://host.name//path/to/development/project.git developer
So, now, I make a change, commit, and then I push from my developer account
git commit --all
git push
and the change goes to the development clone.
But now, when I ssh to the server, go to the development clone directory, and run "git fetch" or "get pull", I don't see the changes.
So what do I do? Am I totally misunderstanding things and doing things wrong? How can I see the changes in the 'development' clone that I pushed from my 'developer' clone? This worked fine in Mercurial.