pre-receive hook ; how to detect file and append code ?
- From
- J. Bakshi <joydeep.bakshi@infoservices.in>
- Date
- Jun 22, 2012, 13:07 UTC
- Message-ID
- <20120622183709.2f0beaa6@shiva.selfip.org>
Dear list,
How can I detect a specific file during push, if it is modified or not ? And how can I then append a block of code into that file; if modified during push ? I think pre-receive hook is the best for this operation.
Thanks