When I pull change from my repositories, Git change the file permissions (actually, he change the group write
permission).
If I'm correct, Git should only track executable bit and this anyway can be removed using setting core.filemode
to false.
But, although the filemode is set to false (in local, global and user), when I pull, write
permission constantly change.
I could use a git-hooks in order to reset correct chmod, but this is some overhead and I'd prefer if there's a way to just ask git to completly ignore file mode change.
Anyone know how to achieve this ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…