Skip to content

Instantly share code, notes, and snippets.

@odykyi
Last active February 23, 2018 09:54
Show Gist options
  • Save odykyi/969eefceab2f925d0129d7c8704d01dd to your computer and use it in GitHub Desktop.
Save odykyi/969eefceab2f925d0129d7c8704d01dd 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