1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-27 12:32:03 +00:00
Files
rcornwell.sims/Visual Studio Projects/git-hooks/post-checkout
2016-05-15 23:13:25 -07:00

6 lines
164 B
Bash

#!/bin/sh
#
# A hook script that is called after a successful
# checkout to record the commit-id in the working directory.
git log -1 --pretty="%H" >.git-commit-id