What command is used to remove a remote repository?
Posted by GraceDv
Last Updated: July 11, 2024
To remove a remote repository in Git, you can use the following command:
git remote remove <remote-name>
Replace <remote-name> with the name of the remote repository you wish to remove (e.g., origin). Alternatively, you can use the shorthand:
git remote rm <remote-name>
After executing this command, the specified remote repository will be removed from your Git configuration.