git ignore chmod changes on dir code example Example: git ignore file mode changes git config core.fileMode false