Created
February 13, 2014 03:29
-
-
Save janecakemaster/8969268 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1. Create new branch and checkout branch | |
`git checkout -b <name_of_branch>` | |
2. Make changes | |
3. Stage changes | |
`git add <filename>` to add `<filename>` | |
`git add -A .` to add all your changes and remove files | |
4. Commit changes (often). You can reference or 'fix' a bug by saying "Fixes #<issue_number>" | |
`git commit -m "This is a commit message."` | |
5. After you're done committing all your changes, merge master and push. | |
``` | |
> git merge master | |
// resolve merge conflicts if any | |
> git push origin <name_of_branch> | |
``` | |
6. Go to GitHub and submit pull request with detailed description and screenshots of your changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment