I created a bare repo on my VPS
The repo's file folder is "~/repo" , I used "git init --bare" at "~/rpeo/.git" and then did nothing
Then I cloned it and pushed something I got this result :
$ git push origin master
Counting objects: 19, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (19/19), 797.99 KiB, done.
Total 19 (delta 1), reused 0 (delta 0)
To ssh://XXXX@XXXX.com:3344/~/ROOT
* [new branch] master -> master
I can also see the log on the server side and use "git pull" to get these files
the log :
commit 833ad06648f999f51d54c9e082a136270cbd3686
Author: XXXX <XXXX@gmail.com>
Date: Mon Mar 10 14:45:49 2014 +0800
init web
but ~/repo is still empty
Please help me , thank u very much!