desktop: Not Showing My Changes And Not discarding changes

Description

In my github desktop It is not showing any changes made in the files and if all the changes are discarded manually still it is showing that file in “Changes tab”

Moreover discard all changes is not working.

Version

  • GitHub Desktop: 1.5.0
  • Operating system: 10

Steps to Reproduce

  1. Changes made in File
  2. Not showing any changes that are made
  3. Discarded changes manually
  4. Still showing that file in “changes” Tab
  5. Discard all is not working’
  6. Not switching branches

Expected Behavior

Should show changes made and should discard changes when we click on discard all and should switch branches

Actual Behavior

  1. No changes are showing
  2. Discard all is not working
  3. Not switching branches

Additional Information

Please fix as soon as possible

Logs

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (11 by maintainers)

Most upvoted comments

@srikanth-padmanabhuni thanks for the update. I believe what you are running into is related to filemode changes, similar to https://github.com/desktop/desktop/issues/4953.

Does running the command git status --untracked-files=all --branch --porcelain=2 show any output?

You can also force Git to ignore filemode changes by running the following command:

git config core.filemode false

Let me know if it helps.