title: Is there a way to prevent a commit to a file in a remote repository?
body: <p>I have some files (i.e some version files) in a remote repository that shouldn't be changed by future commits. Is there a way to make sure that future users who commit to this file will not be able to override the file in the remote, but still be able to push. Is there an easier way to do this than using githooks? I don't want to create a commit that undo's a users change in a githook. Is there a cleaner way of doing this?</p>