git :: ignore file permission (mode,chmod) change
Contents
Git ignore file permission change
You have a situation, where you did not edit a file under git version control. But you changed the files permission. By default git will still identify this as a version change.
If you don’t want git to acknowledge file permission as a change, then try this command.
|
|
git will ignore the file permission(mode) changes made using chmod command
|
|
Author: Deepu Mohan Puthrote
Link: https://deepumohan.com/tech/git-ignore-file-permission-change/
This work by Deepu Mohan Puthrote is licensed under a Creative Commons Attribution 4.0 International License