I have forked the git repository of a project on Github and made my own changes to it.
I wanted to get a diff between my repository and the original
repository that I’ve forked. Can someone tell me the git command
to get that diff?
I need to submit the diff for review.
Original repository:
git://github.com/apache/hive.git
My repository:
git@github.com:prafullat/hive.git
Here are the details from my .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
I tried looking at other posted questions regarding the same topic and
could not get it to work.
Any help would be highly appreciated.
Getting commit sha1 manually and using them in diff
solved the problem!