I'm in a git repo in which some changes have been made. So I first did a git status
, which shows one file changed. I then did a git diff
to view the changes, but that doesn't output anything at all (see output below), not even a mode change or anything.
Does anybody know why git diff
doesn't output anything while there are clearly some changes? All tips are welcome!
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: src/app/models/VariablePosition.py
no changes added to commit (use "git add" and/or "git commit -a")
$ git diff
$
[EDIT]
It was asked what the output of git config core.filemode
is:
$ git config core.filemode
true