doc: remote bash in preparation and add additional line of text

This commit is contained in:
Leon Xu committed 2021-07-14 10:50:59 -07:00
1 parent eb55d727de
commit effcb133ba
1 file changed
+7 -2
+7 -2
View File
@@ -16,9 +16,14 @@ tags:
# 事前准备:
检查当前的Git进程:
```bash
```
git remote -v
origin https://github.com/example/example.git(获取)
origin https://github.com/example/example.git(推送)
```
在我当前的场景中,为了简化操作我必须保持独特的各种GitLab账户,我将切换使用SSH而不是HTTPS。因此,您必须先将SSH密钥添加到每个GitHub和GitLab的账号上。
在我当前的场景中,为了简化操作我必须保持独特的各种GitLab账户,我将切换使用SSH而不是HTTPS。因此,您必须先将SSH密钥添加到每个GitHub和GitLab的账号上。
删除当前的origin远程:
```
git remote remove origin
```