1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-31 05:42:51 +00:00
Files
rcornwell.sims/Visual Studio Projects/git-hooks/post-merge
2016-05-15 23:13:25 -07:00

6 lines
161 B
Bash

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