Git使用Git

git 切换上传github和码云合集

2018-05-06  本文已影响1人  Yoyo_UoU

git 配置多个ssh key

打开git bash
cd ~/.ssh
切换到你.ssh文件目录下

Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):/c/Users/Administrator/.ssh/id_rsa_user2

# Default github user(xxx)
Host gitee.com
HostName gitee.com
User git
IdentityFile C:/Users/Office/.ssh/id_rsa
# second user(uou)
Host uou.com
HostName github.com
User git
IdentityFile C:/Users/Office/.ssh/id_rsa_user2

本地没有仓库的情况下上传到码云

源地址:https://blog.csdn.net/ntc10095/article/details/60583301

国内码云与国际Github的项目同步

原地址:https://blog.csdn.net/csnd_ayo/article/details/72681884

上一篇 下一篇

猜你喜欢

热点阅读