$ cd /home/username/git
$ mkdir myrepo.git
$ cd myrepo.git/
$ git --bare init
服务器上Git创建仓库
最新推荐文章于 2024-07-07 17:34:31 发布
$ cd /home/username/git
$ mkdir myrepo.git
$ cd myrepo.git/
$ git --bare init