Clone
CD到一个目录然后执行以下步骤:
过程
1 2 3 4 5 6 7
|
Cloning into 'ZGPageMenu'... remote: Enumerating objects: 121, done. remote: Counting objects: 100% (121/121), done. remote: Compressing objects: 100% (85/85), done. remote: Total 121 (delta 34), reused 114 (delta 27), pack-reused 0 Receiving objects: 100% (121/121), 56.63 KiB | 19.00 KiB/s, done. Resolving deltas: 100% (34/34), done.
|
然后就可以开始修改
Update
CD 到项目根目录 然后执行:
如何出现
1 2 3 4 5
|
You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch>
|
就执行:
然后再次执行
最后:
出现以下内容说明update成功,可以查询远程项目更新情况:
1 2 3 4 5 6 7 8 9
|
Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 289 bytes | 289.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0) remote: Resolving deltas: 100% (2/2), completed with 2 local objects. To https://github.com/zhigangwu/ZGPageMenu.git 7c1515f..b99fd1d master -> master
|
近期评论