From 16f34efb71a355986ef1b95bf397dc3610dfd08b Mon Sep 17 00:00:00 2001 From: Peter John V <69682200+peterjv26@users.noreply.github.com> Date: Sat, 8 Jan 2022 13:17:58 +0530 Subject: [PATCH 1/2] Clarify what happens with git remote rm command Added a note to say this just unlinks local and remote repositories --- .../getting-started-with-git/managing-remote-repositories.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/get-started/getting-started-with-git/managing-remote-repositories.md b/content/get-started/getting-started-with-git/managing-remote-repositories.md index 0914d2a7eaaa..a4afc3799415 100644 --- a/content/get-started/getting-started-with-git/managing-remote-repositories.md +++ b/content/get-started/getting-started-with-git/managing-remote-repositories.md @@ -194,6 +194,8 @@ Use the `git remote rm` command to remove a remote URL from your repository. The `git remote rm` command takes one argument: * A remote name, for example, `destination` +Note: Removing the remote URL from your respositoy only unlinks the local and remote repositories and does not delete the remote repository + ## Example These examples assume you're [cloning using HTTPS](/github/getting-started-with-github/about-remote-repositories/#cloning-with-https-urls), which is recommended. From d8bee079b5f3de0eb7db614d9a3e0ce6b457bc05 Mon Sep 17 00:00:00 2001 From: Sarah Edwards Date: Wed, 9 Feb 2022 16:08:55 -0800 Subject: [PATCH 2/2] wording update --- .../getting-started-with-git/managing-remote-repositories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/getting-started-with-git/managing-remote-repositories.md b/content/get-started/getting-started-with-git/managing-remote-repositories.md index a4afc3799415..e61fe385d4a6 100644 --- a/content/get-started/getting-started-with-git/managing-remote-repositories.md +++ b/content/get-started/getting-started-with-git/managing-remote-repositories.md @@ -194,7 +194,7 @@ Use the `git remote rm` command to remove a remote URL from your repository. The `git remote rm` command takes one argument: * A remote name, for example, `destination` -Note: Removing the remote URL from your respositoy only unlinks the local and remote repositories and does not delete the remote repository +Removing the remote URL from your repository only unlinks the local and remote repositories. It does not delete the remote repository. ## Example