Skip to content

Instantly share code, notes, and snippets.

@ephraimduncan
Created June 3, 2022 18:16
Show Gist options
  • Save ephraimduncan/d386002794ce05055ded27b547ce6856 to your computer and use it in GitHub Desktop.
Save ephraimduncan/d386002794ce05055ded27b547ce6856 to your computer and use it in GitHub Desktop.
Git Remote origin commands

Add a new git remote url

git remote add origin git://new.url.here

Remove remote url

git remote remove origin

Change remote url

git remote set-url origin git://new.url.here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment