服务器端

cd Repo

git init --bare MISProject.git

Initialized empty Git repository in /opt/Repo/MISProject.git/

[root@localhost MISProject.git]# ll
total 32
drwxr-xr-x. 2 root root 4096 May 26 09:30 branches
-rw-r--r--. 1 root root 66 May 26 09:30 config
-rw-r--r--. 1 root root 73 May 26 09:30 description
-rw-r--r--. 1 root root 23 May 26 09:30 HEAD
drwxr-xr-x. 2 root root 4096 May 26 09:30 hooks
drwxr-xr-x. 2 root root 4096 May 26 09:30 info
drwxr-xr-x. 4 root root 4096 May 26 09:30 objects
drwxr-xr-x. 4 root root 4096 May 26 09:30 

posted @ 2017-05-26 10:40  木易_杨  阅读(116)  评论(0编辑  收藏  举报