From 5b7be33b143e82bcda1c4820bc1f7982dba4f3ca Mon Sep 17 00:00:00 2001 From: Alex Grin Date: Wed, 19 Jul 2017 12:41:19 -0400 Subject: [PATCH] Updated Branching and Merging (markdown) --- Branching-and-Merging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Branching-and-Merging.md b/Branching-and-Merging.md index 85d01aa..178d12e 100644 --- a/Branching-and-Merging.md +++ b/Branching-and-Merging.md @@ -18,11 +18,11 @@ git rebase origin/master ## 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 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 ```