Skip to content

Instantly share code, notes, and snippets.

@DanzelWTF
Last active February 15, 2016 22:15
Show Gist options
  • Save DanzelWTF/d88de9864efe06d6d2d0 to your computer and use it in GitHub Desktop.
Save DanzelWTF/d88de9864efe06d6d2d0 to your computer and use it in GitHub Desktop.
Git Cheat Sheet

Remote

Show remotes

git remote -v

Add remote

git remote add <name [email protected]:<username>/<project>.git

Change remote urls

git remote set-url <name> [email protected]:<username>/<project>.git

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