Skip to content

Instantly share code, notes, and snippets.

@odykyi
Created March 17, 2020 17:05
Show Gist options
  • Save odykyi/ad4dde3a953400e8dae63a14f41349df to your computer and use it in GitHub Desktop.
Save odykyi/ad4dde3a953400e8dae63a14f41349df to your computer and use it in GitHub Desktop.
git remote set url.sh
git remote set url.sh
0. git remote -v
1.1 git remote add origin [email protected]:USERNAME/REPOSITORY.git
1.2 git remote add origin https://github.com/USERNAME/REPOSITORY.git
2.1 git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
2.2 git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
3. git remote -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment