I've made a remote git repository with
mkdir /var/www/html/myproject.git
chmod 0770 /var/www/html/myproject.git
ln -s /var/www/html/myproject.git myproject.git
cd myproject.git
git --bare init
and successfully connected to it and cloned it on my own machine with
git clone git@myserver.co.uk:myproject.git
then uploaded some files to it
git push
which when tried again shows that the repository is already up to date.
However, I'm looking around on the remote server, and can't actually find where git has stored those files! It's not in /var/www/html/
nor /home/git
and the only thing I've managed to find is the HEAD file which contains the id of the initial commit I made in /var/www/html/myproject.git/refs/heads/master
. (So I know the push worked)
Where could the files possibly be?