git 多人协作 一台机器配置多个项目

                                            <table class="text"&gt;<tbody><tr class="li1"&gt;

<td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

rating public/private rsa key pair. Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa): /c/Users/Administrator/.ssh/id_rsa_fptcom Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa_fptcom. Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa_fptcom.pub. The key fingerprint is: SHA256:z7JCMVLQNgDWQddmols8JY414jC9Hj2cn4Pp6bro2+E github-fptcom The key's randomart image is: +---[RSA 2048]----+ |  o===..         | | .o +.X =        | |   + & X         | |    B %          | |   . = OS.       | |    o + +o       | |     o....o      | |   . o+. o       | |   .*=E..        | +----[SHA256]-----+     在.ssh文件下,建立config文件,并且添加内容: #Default GitHub Host github.com HostName github.com User git IdentityFile ~/.ssh/id_rsa   Host github-fptcom HostName github.com User git IdentityFile ~/.ssh/id_rsa_fptcom   已clone好的文件地方输入下面指令改变github本地的前缀 $ git remote set-url origin github-fptcom:xxxxxxxx/BestoneGitHub.git

相关文章

本篇内容主要讲解“gitee如何上传代码”,感兴趣的朋友不妨来...
这篇“从gitee上下的代码如何用”文章的知识点大部分人都不太...
这篇文章主要介绍“gitee如何下载仓库里的项目”,在日常操作...
本篇内容主要讲解“怎么在Gitee上更新代码”,感兴趣的朋友不...
本文小编为大家详细介绍“怎么将工程托管到gitee”,内容详细...
这篇文章主要介绍了gitee中图片大小如何调整的相关知识,内容...