我已经fork了一个在Github上的项目的git代码库,并对其进行了修改。 我想获取我的代码库和原始代码库之间的差异。有人可以告诉我用哪个git命令来获取这个diff吗?我需要提交这个diff供审核。
原始代码库:
git://github.com/apache/hive.git
我的代码仓库:
git@github.com:prafullat/hive.git
这是我.git/config
的详细信息。
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:prafullat/hive.git
[remote "mirror"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://github.com/apache/hive.git
我尝试查看其他关于同一主题的已发布问题,但无法使其工作。
非常感谢任何帮助。