VocalFan
VocalFan

Reputation: 117

Git unable to access diff

I'm trying to make a diff but using

git diff KDE/krita  mrmajik45/krita

Says that it can't access KDE/krita. Please help.

( not a git repository (or any of the parent directories): .git) for Eft. (error: Could not access 'KDE/krita') I'm trying to compare my fork to Master.

Upvotes: 2

Views: 6796

Answers (1)

VonC
VonC

Reputation: 1324347

The way to compare your own fork master branch to the original ("upstream") repository is:

git clone https://github.com/mrmajik45/krita
cd krita
git remote add upstream https://github.com/KDE/krita
git fetch upstream

Then you can do, still in the krita folder; a diff between your local an remote upstream-repo branch:

git diff master upstream/master

Upvotes: 1

Related Questions