周梦康 发表于 2016-06-29 1826 次浏览 标签 : git
[mengkang.zmk@v101081197 xxxx]$ cat ~/.ssh/config 
host gitlab.xxx.com
RSAAuthentication yes
identityfile /home/mengkang.zmk/.ssh/id_rsa_mengkang_zmk

[mengkang.zmk@v101081197 project]$ cd xxxx/
[mengkang.zmk@v101081197 xxxx]$ git clone git@gitlab.xxx.com:aliyun/xxx.git ./
Cloning into '.'...
remote: Counting objects: 4194, done.
remote: Total 4194 (delta 185), reused 1268 (delta 185)
Receiving objects: 100% (4194/4194), 15.74 MiB | 13.98 MiB/s, done.
Resolving deltas: 100% (185/185), done.
Checking connectivity... done.

[mengkang.zmk@v101081197 xxxx]$ git checkout -b remotes/origin/daily/0.0.20
Switched to a new branch 'remotes/origin/daily/0.0.20'

[mengkang.zmk@v101081197 appLive]$ git branch
  master
* remotes/origin/daily/0.0.20
[mengkang.zmk@v101081197 appLive]$ git pull origin daily/0.0.20
From gitlab.alibaba-inc.com:aliyun/m-aliyun-yunqi
 * branch            daily/0.0.20 -> FETCH_HEAD
Updating 33d034b..3c5f4e7
Fast-forward
 build/css/appAskAnswerList.css                      |  2 +-
 src/scripts/askAnswer/components/appList/index.less | 20 ++++++++++++++++++++
 src/scripts/video/components/appLive/index.js       | 38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+), 1 deletion(-)

评论列表