I created a remote repository for a number of my projects, so it is the destination of my push
's. Contrary to the ideology of git, but it serves as a central repository.
However when I go to the *.git
folders on the server there is a directory structure of the form:
- /branches
- /hooks
- applypatch-msg.sample
- commit-msg.sample
- etc
- /info
- exlude
- /objects
- 06
- 1c
- various hex numbers
- pack
- /refs
- /tags
- /heads
- master
- config
- description
- HEAD
What is going on here, I'm sure if I studied the inner working of git I would be able to figure it out, but where are the project files?
Update
I created the repo in the following way:
- Had an existing local git repository
- Added remote to the local
git remote add origin git@site.co.za:project_name.git
- On the server, created a base repository of the same name 'git init --bare project_name.git`
- Pushed from local to remote
git push origin master