组织介绍

仓库下载

repo init -u git@dg110:dg110_1/manifest.git
repo sync
repo start master --all

ssh多帐号时创建remote:

repo forall -c git remote add dg110 git@dg110:dg110_1/root

ssh多帐号clone

vim ~/.ssh/config

#Default 第一个账号(user001)
Host rd8272
HostName gitee.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa

#second 第二个账号(user002)
Host dg110
HostName dg110.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_dg110

push操作

git remote -v
git remote add dg110 git@dg110:dg110_1/root
git push dg110

git clone git@dg110:dg110_1/manifest.git

成就
0
Star
205
Fork
成员(1)
dg110

搜索帮助