Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git diff files of different branches

# If the two files have different paths in each branch

git diff branch1:path/to/file branch2:path/to/file
 
PREVIOUS NEXT
Tagged: #git #diff #files #branches
ADD COMMENT
Topic
Name
8+8 =