Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git apply diff

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 ;)
 
PREVIOUS NEXT
Tagged: #git #apply #diff
ADD COMMENT
Topic
Name
5+2 =