I have post an question at
I just want to know why GIT doesn't track read/write permission?
What I want is just GIT keep what every I checked in? ( I am OK with the
executable permission control)
It's sort of a philosophical issue. If you are placing a file into a
repository, it is by definition "read only". You can never 'write' the same
revision, but with a different content - it would be a contradiction. Hence the
r/w flags are ignored.
It's important to remember that as concieved, Git is not a deployment tool, so
it didn't need r/w permissions, and as open source DVCS, everything checked out
would be local so the user would have full control, so read-only couldn't be
relied on anyway, and we hope the user will contribute a change/improvement so
'write' it is!
Likewise it doesn't store timestamps (of the files) either..
There is a Linus 'rant' somewhere on the issue..
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.