Git init --bare - Not Working on working tree

前端 未结 2 861
暗喜
暗喜 2021-01-27 04:23

I am following the examples here http://wiki.dreamhost.com/Git

Basically I want to create a git repo i can push to on a server from my desktop... On host:



        
2条回答
  •  情歌与酒
    2021-01-27 04:40

    What you see seems correct. The .git files you see in that folder (and a lot of it in the objects directory) contains all your git repository.

    When you make a "bare" repository, this prevents anybody else to edit the files directly there (on your host machine), not having the project checked out with all your source file is one of the thing that would prevent such editing.

提交回复
热议问题