[jerry@CentOS ~]$ mkdir jerry_repo
[jerry@CentOS ~]$ cd jerry_repo/
[jerry@CentOS jerry_repo]$ git clone gituser@git.server.com:project.git
上面的命令会产生以下结果。Initialized empty Git repository in /home/jerry/jerry_repo/project/.git/ remote: Counting objects: 3, done. Receiving objects: 100% (3/3), 241 bytes, done. remote: Total 3 (delta 0), reused 0 (delta 0)
Jerry 改变目录到新的本地存储库,并列出目录内容。[jerry@CentOS jerry_repo]$ cd project/
[jerry@CentOS jerry_repo]$ ls README