Skip to content

Instantly share code, notes, and snippets.

@AshikNesin
Last active September 16, 2015 08:06
Show Gist options
  • Save AshikNesin/d430ac83bc8e89870d29 to your computer and use it in GitHub Desktop.
Save AshikNesin/d430ac83bc8e89870d29 to your computer and use it in GitHub Desktop.
[Git] Changing a remote's URL of Git

Here's command to do it

git remote set-url origin git://new.url.here

Like this

git remote set-url origin https://ashiknesin@github.com/HugeThoughts/simple-payroll.git

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