I have 3 files .xml .cs and . h that I want always to be modified and committed together. They are all in different directories. Users are likely to forget modify/commit all accordingly.
How can I force them to commit all three files together ?
I want them to see an error message explaining why the commit was rejected.
I can perhaps try some pre-commit hook. If someone could provide a general hook-script example, that would be very helpful.
Or are there other effective ways ?
We use Linux CentOS server + Win/Tortoise workstations.