-
git pull --rebase
instead ofgit pull
-
git rebase -i @{u}
beforegit push
-
(on “feature”)
git merge master
to make feature compatible with latest master -
(on “master”)
git merge --no-ff feature
to ship a feature -
However if “feature” contains only 1 commit, avoid the merge commit: (on “master”)
git cherry-pick feature
Last active
August 29, 2015 13:59
-
-
Save fizerkhan/10592136 to your computer and use it in GitHub Desktop.
Git merge Vs Git Rebase
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment