docs:git:fixing_cygwin_file_mode_changes

fixing cygwin filemode changes

UPDATE This may have been a Vim issue for me. After modifying a file and saving in Win32 Vim, the filemode was changed and git would say there was a change. See :help backupcopy in vim for more info. The fix is to add this to your .vimrc:

:set backupcopy=yes

If something else causes this that you can't control, you can tell git to ignore these changes with this:

git repo-config core.fileMode false
  • docs/git/fixing_cygwin_file_mode_changes.txt
  • Last modified: 2009/11/06 12:45
  • by billh