Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To remove a remote named "origin" from your Git repository, you can use the following command:

git remote remove origin

This command removes the remote named "origin" from your repository's list of remotes. After running this command, you won't be able to push or pull changes to or from this remote anymore, unless you add it back as a new remote.