Skip to content

Instantly share code, notes, and snippets.

@khattab88
Created April 17, 2018 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khattab88/3b82ab1ab10c2cc852d911af11626eb0 to your computer and use it in GitHub Desktop.
Save khattab88/3b82ab1ab10c2cc852d911af11626eb0 to your computer and use it in GitHub Desktop.
useful git commands
add remote repo: git remote add origin git@github.com:User/UserRepo.git
publish to remote: git push -u origin master
reference: https://stackoverflow.com/questions/42830557/git-remote-add-origin-vs-remote-set-url-origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment