Hey Guys
I’m new to command line
I want make the local changes to push to the remote server.
I follow this screencast.
everything seems Ok, but when I check the remote server, it’s still a bare git folder.
Here’s the command I made:
Agro:first Zhulin$ git remote add origin root@markson.hk:/export/git/ProjectServer
Agro:first Zhulin$ git push origin master
root@markson.hk's password:
Counting objects: 63, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (48/48), done.
Writing objects: 100% (63/63), 86.09 KiB, done.
Total 63 (delta 2), reused 0 (delta 0)
To root@markson.hk:/export/git/ProjectServer
* [new branch] master -> master
root@makserver:/export# cd git
root@makserver:/export/git# ls
ProjectServer
root@makserver:/export/git# cd ProjectServer/
root@makserver:/export/git/ProjectServer# ls
HEAD branches config description hooks info objects refs
root@makserver:/export/git/ProjectServer#
You are pushing to a bare repository. After a push, the repository will be updated with the latest pushed contents. However, for the bare repository to be useful (to be worked on), it has to be cloned.
In the remote server: