2017-06-14 100 views

回答

0

嘗試使用Git的diff命令

git diff --no-index repo1/a repo2/b 

git diff --no-index [--options] [--] [<path>…​] 
This form is to compare the given two paths on the filesystem. 
You can omit the --no-index option when running the command in a working 
tree controlled by Git and at least one of the paths points outside 
the working tree, or when running the command outside a working tree 
controlled by Git.