Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to do create diff file in git

$ git patch-format com1..com2 --stdout > '~/patchs/mypatch.patch'

# or

$ git patch-format tag1..tag2 --stdout > '~/patchs/mypatch.patch'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #diff #file #git
ADD COMMENT
Topic
Name
3+5 =