I want to set up a git environment for my PHP website. In my centos server, I created a directory and using git init --bare --shared
to initial the git repository. Then I run git add .
and git commit
.
In my laptop, i use net beans IDE to get a clone of the git repository through SSH. I added some files and commit, push. It seems no problems.
My question is why I can not see any changes happened in my centos server. In the original repository, there are nothing changed. Do I need to run some commands?
Thanks in advance!