Updated Branching Merging (markdown)

Alex Grin 2017-07-19 12:39:08 -04:00
parent f634de32f3
commit 2e8db72be9

@ -20,14 +20,15 @@ git rebase origin/master
When working locally, do whatever you want. Before sharing, clean up your history into logical commits and write good commit messages for them.
*Tip: make lots of small commits, then squash them into one or several bigger commits before pushing. This helps organize your work, so that logically separate changes can be placed into separate commits without manually splitting an existing commit*
```
git fetch
git rebase -i origin/master
git push -u origin your_branch_name
```
*Tip: make lots of small commits, then squash them into one or several bigger commits before pushing. This helps organize your work, so that logically separate changes can be placed into separate commits without manually splitting an existing commit*
## Rebase and non-ff-merge into master when you're done
```