1.3、初始化Git仓库 首先我们选定一个目录作为Git仓库,假定是/home/gitrepo/learngit.git,在/home/gitrepo目录下输入命令: $ cd /home $ mkdir gitrepo $ chown git:git gitrepo/ $ cd gitrepo $ git init --bare learngit.git Initialized empty Git repository in /home/gitrepo/learngit.git/ 1. 2...