Created
December 4, 2012 14:17
-
-
Save kickroot/4204368 to your computer and use it in GitHub Desktop.
Github cheat sheet
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
## Change to your project root folder and do this initially to get your repo set up | |
git init | |
git remote add origin <Your repo URL> | |
git pull origin master | |
git add . | |
git commit -am "Initial commit" | |
git push | |
## Do this whenever you have changes to make permanent | |
git add . # If you added any files | |
git commit -am "<Your change message>" | |
git push | |
## Do this when someone else has updated the repo and you want changes | |
git pull | |
## Do this to see what your current status is | |
git status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment