Commit 041ca6cb authored by lishijun's avatar lishijun

add gclient config

parent f75fa43e
......@@ -122,6 +122,29 @@ $ git init
---
### Gclient
##### gclient通过DEPS同步多个已创建的仓库:
```bash
# 配置gclient
$ gclient config --name=. ssh://user@domain.com/repo.git@develop
# ssh://user@domain.com/repo.git为仓库
# @develop为同步分支
# DEPS为同步参考文件,需要匹配deps仓库权限
# 执行gclient 同步
$ gclient sync
```
#####
---
### 本地修改
##### 显示工作路径下已修改的文件:
......@@ -851,3 +874,4 @@ git flow hotfix finish VERSION
<img alt="Git" src="Img/remote_loacl.png">
</p>
<hr>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment