比较 2 个不同 github 回购中的 2 个文件
Comparing 2 files in 2 different github repos
有没有办法比较具有不同文件夹名称的 2 个不同 github 存储库中的 2 个文件?
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.
有没有办法比较具有不同文件夹名称的 2 个不同 github 存储库中的 2 个文件?
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.