Skip to content

How to remove a git remote ?

To list down your remote repository handles that is currently being used in local repository, we use git remote -v command.

> git remote -v
origin (fetch)
origin (push)

To remove a remote from your local repository, you can use the following command.

git remote remove origin
git remote rm origin


See also  Delete a local and a remote GIT branch

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.