1

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.

Vipul Gulhane
  • 493
  • 6
  • 16
Mrmajik45
  • 99
  • 9
  • well... the basics. Can you post the exact error message? Do you have a branch called KDE/krita? This will help us figure it out: `git branch -a | grep KDE/krita` – eftshift0 Sep 22 '18 at 04:46

1 Answers1

1

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
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283