In Git, how can I write the current commit hash to a file in the same commit
|August 9, 2010||Posted by forumadmin under TechQns||
I’m trying to do a fancy stuff here with Git hooks, but I don’t really know how to do it (or if it’s possible).
What I need to do is: in every commit I want to take its hash and then update a file in the commit with this hash.
|Asked By – Felipe Kamakura||Read Answers|