Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:git:fixing_cygwin_file_mode_changes [2009/11/06 12:35] billhdocs:git:fixing_cygwin_file_mode_changes [2009/11/06 12:45] (current) billh
Line 1: Line 1:
 ====== fixing cygwin filemode changes ====== ====== fixing cygwin filemode changes ======
-Although I haven'yet figured out why the file modes are changing, you can ignore/stop them with this:<code>+** 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:<code> 
 +:set backupcopy=yes 
 +</code> 
 + 
 +If something else causes this that you can'control, you can tell git to ignore these changes with this:<code>
 git repo-config core.fileMode false git repo-config core.fileMode false
 </code> </code>
  • docs/git/fixing_cygwin_file_mode_changes.1257536122.txt.gz
  • Last modified: 2009/11/06 12:35
  • by billh