Created
January 9, 2012 20:01
-
-
Save ricog/1584644 to your computer and use it in GitHub Desktop.
Basic Git Workflow
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
## Installation | |
get the files | |
git clone <repo url> | |
## Working on files | |
see what you've changed | |
git diff | |
get updates from origin repository | |
git pull | |
## Adding files to commit | |
add currently tracked files with changes | |
git add -u | |
interactively select chunks of files to add | |
git add -p | |
add specific files or folders | |
git add <filename or path> [<filename or path>] | |
## Committing | |
git commit -m 'your message here. make it good' | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment