Updated Branching and Merging (markdown)

Alex Grin 2017-07-19 12:41:19 -04:00
parent f828a0d476
commit 5b7be33b14

@ -18,11 +18,11 @@ git rebase origin/master
## Clean up your commits before creating a PR ## Clean up your commits before creating a PR
When working locally, do whatever you want. Before sharing, clean up your history into logical commits and write good commit messages for them. When working locally, do whatever you want. Before sharing, clean up your history into logical commits and write good commit messages for them. Focus on clarity for someone reading this 3 months from now.
``` ```
git fetch git fetch
git rebase -i origin/master # rearrange and reword commits. aim for readability by others git rebase -i origin/master
git push -u origin your_branch_name git push -u origin your_branch_name
``` ```