Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to create a patch file between 2 branches git

git diff master Branch1 > ../patchfile
git checkout Branch2    
git apply ../patchfile
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #patch #file #branches #git
ADD COMMENT
Topic
Name
4+6 =