0
是否有一种方法可以比较2个不同github仓库中的2个文件与不同文件夹名称?比较2个不同github仓库中的2个文件
github repo 1
a/
1.txt
github repo 2
b/
1.txt
正在研究使用git的差异,但好像这是不可能的
是否有一种方法可以比较2个不同github仓库中的2个文件与不同文件夹名称?比较2个不同github仓库中的2个文件
github repo 1
a/
1.txt
github repo 2
b/
1.txt
正在研究使用git的差异,但好像这是不可能的
尝试使用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.