Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Diff a git fork

Tags:

git

diff

I'm reviewing a set of forks from an original git project and trying to determine the actual differences. Is there a way to do some sort of git diff original-uri fork-uri to get the differences between the current state of the original project and the current state of the fork?

like image 468
Paul Alexander Avatar asked Feb 07 '11 22:02

Paul Alexander


1 Answers

If you add the fork as a remote repository, you can make diff on it:

git remote add original original-uri
git fetch original
git diff HEAD original/master

However this requires to clone the forked repository, don't know how to do without cloning.

like image 195
CharlesB Avatar answered Oct 03 '22 08:10

CharlesB