Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git merge different branches

git checkout target_branch_to_patch #Get into branch to be patched
git diff target_branch_to_patch source_branch_patch > file.patch #Get patch file
git apply file.patch #Apply patch of differences among branches ;)
Source by # #
 
PREVIOUS NEXT
Tagged: #git #merge #branches
ADD COMMENT
Topic
Name
4+9 =