比较2个不同github repo中的2个文件

比较2个不同github repo中的2个文件,github,diff,Github,Diff,有没有一种方法可以比较两个不同github repo中的两个文件以及不同的文件夹名 github repo 1 a/ 1.txt github repo 2 b/ 1.txt 正在研究使用git-diff,但似乎不可能尝试使用git-diff命令 git diff --no-index repo1/a repo2/b git diff --no-index [--options] [--] [<path>…​] This form is to compare the

有没有一种方法可以比较两个不同github repo中的两个文件以及不同的文件夹名

github repo 1
a/
   1.txt

github repo 2
b/
   1.txt

正在研究使用git-diff,但似乎不可能

尝试使用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.
git diff——无索引repo1/a repo2/b
git diff--无索引[--options][--][…​]
此表单用于比较文件系统上给定的两个路径。
在工作环境中运行命令时,可以省略--no index选项
由Git控制的树,并且至少有一条路径指向外部
工作树,或在工作树外运行命令时
由Git控制。