I created a git repository via ssh. It works but i can’t see files in directory.
remote(ssh):
mkdir test.com
cd test.com
git init
client(git bash)
cd /apache/htdocs
git clone git://myserverip/test.com
cd test.com
git add --all .
git commit -a -m "first"
git push origin master
I found the solution
post-receive