Git配置SSH Key(Git配置多个账户) #36
ycyin
announced in
Announcements
Replies: 1 comment
-
多账户配置本质上很好理解,其实就是为每个仓库配置单独配置用户名和远程仓库连接信息,而不是使用默认的全局设置 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Git配置SSH Key(Git配置多个账户)
前言 一般地,都会安装好Git后直接设置一个全局的config信息,如下: 但是有时候会遇到这样的问题: 场景一:将同一个项目托管在多个平台(Coding、GitHub、GitLab等)时,可能无法满足需求,因为这两个平台不仅仓库地址不一样,并且账户名和密码都是不同的。例如,我在github pages上面搭建的个人博客,在国内访问太慢,我需要将这个项...
https://ycyin.eu.org/posts/Git/git-multi-user-account-configuration---configure-SSH-key.html
Beta Was this translation helpful? Give feedback.
All reactions