1. Home
  2. Git
  3. Change remote

Change url path of the remote repository.

#git#remote
git remote set-url [remote-name] [repository-url]

// i.e.

git remote set-url origin git@github.com:proochster/shortcode.git
copy
Full Git cheatsheet