Created
August 20, 2015 14:11
-
-
Save meirabruno/b2c4203b293a1c55f153 to your computer and use it in GitHub Desktop.
Passos para sobrepor branch derivada da master na master
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
link: http://stackoverflow.com/questions/2763006/change-the-current-branch-to-master-in-git | |
git checkout better_branch | |
git merge --strategy=ours master # keep the content of this branch, but record a merge | |
git checkout master | |
git merge better_branch # fast-forward master up to the merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
otimo! funcionou perfeitamente! obrigado!