Removing a git remote

Full post in here : Removing a Remote

To check your current remote

	$ git remote -v# View current remotes
	# origin  git@github.com:user/repo.git (fetch)
	# origin  git@github.com:user/repo.git (push)
	# destination  git@github.com:forker/repo.git (fetch)
	# destination  git@github.com:forker/repo.git (push)

Remove a remote

	$ git remote rm destination
	# Remove remote

Check your remote again to verify

	$ git remote -v# Verify removal
	# origin  git@github.com:user/repo.git (fetch)
	# origin  git@github.com:user/repo.git (push)

Published: June 05 2012

blog comments powered by Disqus