Git Ignore file Permission (chmod)

Some times when you transfer file to web server, you may need a differnt file permission for files to run in web server, if your code is in git, this make the files marked as modified eventhough file contents are the same. To avoid git checking for file permission (chmod), run following command

git config core.filemode false

See git

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *