[git-users] Why git doesn't track file's "read"/"write" permission?

2015-08-26 Thread Enzo Chi
I have post an question at http://superuser.com/questions/962861/how-to-use-git-to-commit-read-only-file 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) -- You received t

Re: [git-users] Why git doesn't track file's "read"/"write" permission?

2015-08-26 Thread Enzo Chi
I think git track executable permission, right? If so, files in git is "read only" and "not deployment too", why it track "x" permission? Keep "read only" permission is useful in some scenario. And most important thing is there's on harm to keep it (I am not a software developer, correct me if

Re: [git-users] Why git doesn't track file's "read"/"write" permission?

2015-08-27 Thread Enzo Chi
tform) to make sure selected files in repo are read-only after GIT operations (pull, merge, clone .etc) automatically? Thanks. On Thursday, August 27, 2015 at 11:53:55 AM UTC+10, charlesmanning wrote: > > > > On Thu, Aug 27, 2015 at 12:40 PM, Enzo Chi > wrote: > >> I