Skip to content

Instantly share code, notes, and snippets.

@thibaut-d
Last active March 10, 2019 22:19
Show Gist options
  • Save thibaut-d/e25752e0d969bfb3cfeadd50a68931e8 to your computer and use it in GitHub Desktop.
Save thibaut-d/e25752e0d969bfb3cfeadd50a68931e8 to your computer and use it in GitHub Desktop.
github cheatsheet
git init projectname
git commit -a
git push origin master
git push remotename branchname
git clone https://github.com/USERNAME/REPOSITORY.git
git fetch remotename
git merge remotename/branchname
git pull remotename branchname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment