Thursday, April 19, 2012

git :: ignore file permission (mode,chmod) change


Try this command pal :)
 git config core.filemode false
git will ignore the file permission(mode) changes made using chmod command
From git-config(1):

       core.fileMode
           If false, the executable bit differences between the index and the
           working copy are ignored; useful on broken filesystems like FAT.
           See git-update-index(1). True by default.

Related Posts Plugin for WordPress, Blogger...