Server side had nothing changed after I used "git push" successfully -


i created bare repo on vps

the repo's file folder "~/repo" , used "git init --bare" @ "~/rpeo/.git" , did nothing

then cloned , pushed got result :

 $ git push origin master counting objects: 19, done. delta compression using 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) ssh://xxxx@xxxx.com:3344/~/root  * [new branch]      master -> master 

i can see log on server side , use "git pull" these files

the log :

commit 833ad06648f999f51d54c9e082a136270cbd3686   author: xxxx <xxxx@gmail.com>   date:   mon mar 10 14:45:49 2014 +0800      init web 

but ~/repo still empty

please me , thank u much!

~/repo still empty

what mean this? if mean there no source code inside it, yes, bare repository will not contain working copies of source files.

the repo's file folder "~/repo" , used "git init --bare" @ "~/repo/.git" , did nothing

if did this, strictly, ~/repo not bare repository ~/repo/.git. convention, bare repository directories end in .git, you'd better

git init --bare ~/repo.git 

instead, ~/repo.git bare repository.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -