Skip to content

Instantly share code, notes, and snippets.

@gfonseca
Last active December 4, 2017 11:49
Show Gist options
  • Save gfonseca/ea9216578c9054079d80cf93fd99250b to your computer and use it in GitHub Desktop.
Save gfonseca/ea9216578c9054079d80cf93fd99250b to your computer and use it in GitHub Desktop.

Git common issues

Git is tracking the file permission mode

$ git diff app/File.php
diff --git a/app/File.php b/app/File.php
old mode 100644
new mode 100755

solution

  • Fedora 26
$ git config --local core.filemode false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment