2

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.

1
  • 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 Commented Sep 22, 2018 at 4:46

1 Answer 1

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 
Sign up to request clarification or add additional context in comments.

3 Comments

I'll try this brb.
How do i get a raw diff file from it?
@Mrmajik45 git-scm.com/docs/git-diff#git-diff---raw: git diff --raw. You had selected the right answer.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.