Skip to content

Instantly share code, notes, and snippets.

@dhrxvjhx
Last active December 11, 2020 05:59
Show Gist options
  • Save dhrxvjhx/0ee0915774bbb2f3639673e92c0a0d11 to your computer and use it in GitHub Desktop.
Save dhrxvjhx/0ee0915774bbb2f3639673e92c0a0d11 to your computer and use it in GitHub Desktop.

To check the remotes added to that repo: git remote -v

Output will be like

origin https://github.com/user/repo_name.git (fetch)

origin https://github.com/user/repo_name.git (push)


To remove remote from repo:
git remote rm <remote-name>
Example:
git remote rm testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment