I have a pre-commit which is really simple :
[xavier@imladris python-requests]$ cat .git/hooks/pre-commit
rm -f BUILDLOCK
This does not work as the name suggests : the file is removed from local repository, but remains on distant, which makes my local repo marked as dirty after the commit.
Did I misunderstood the doc ? In this case, which is the proper hook to accomplish what I need, ie removing the Lock file, the commit the modifs, as well as the removal of the file
Thanks, regards,
Xavier