Created
June 4, 2015 18:25
-
-
Save rgbink/e08e969bc1e4045444c7 to your computer and use it in GitHub Desktop.
Revisions
-
rgbink created this gist
Jun 4, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ git checkout desired_branch // put in the name of the branch you wish to KEEP git merge -s ours branch_to_be_replaced // put in the name of the branch you want to OVERWRITE git checkout branch_to_be_replaced // put in the name of the branch you want to OVERWRITE git merge desired_branch // put in the name of the branch you wish to KEEP