From c81f3c298b2e0110e2baff58f82cebacedc8a320 Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Sat, 17 Jul 2021 18:33:40 -0700 Subject: [PATCH] doc: update contents --- source/_posts/同步GitLab和GitHub.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_posts/同步GitLab和GitHub.md b/source/_posts/同步GitLab和GitHub.md index 614c906..5dea7ca 100644 --- a/source/_posts/同步GitLab和GitHub.md +++ b/source/_posts/同步GitLab和GitHub.md @@ -27,7 +27,8 @@ origin https://gitlab.com/example/example.git(推送) ``` git remote remove origin ``` -> 注意:如果您没有更改SSH或HTTPS,则不需要这样做。但你也可以在不移除origin的情况下轻松切换:``` +> 注意:如果您没有更改SSH或HTTPS,则不需要这样做。但你也可以在不移除origin的情况下轻松切换: +``` git remote set-url origin git@gitlab.com:example/example.git ```