This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INITIALIZATION | |
git clone -o [name to use to refer to repo] [url] | |
REMOTE -> LOCAL | |
git remote update: download changes from github | |
git diff github/[branch]: see changes between local and origin | |
git merge github/[branch]: merge changes from origin into local | |
git pull [origin] [branch]: | |
INFO | |
git status: changes to commit, files to add etc. (purely local) | |
git branch: see what branch you're on | |
'SAVING' CHANGES | |
git commit -a: commit changes to all added files | |
git add [files]: add new files to project | |
LOCAL -> REMOTE | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment