From 7905d1981bfab728769c8335a3e7190abf0a29ab Mon Sep 17 00:00:00 2001 From: MJB <mjb@it-innovation.soton.ac.uk> Date: Sun, 25 Mar 2018 16:59:11 +0100 Subject: [PATCH] adding commit count --- .githooks/post-commit | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.githooks/post-commit b/.githooks/post-commit index 4959421..01c8921 100644 --- a/.githooks/post-commit +++ b/.githooks/post-commit @@ -1,4 +1,3 @@ #!/bin/bash -mkdir config -git show --abbrev-commit --pretty=format:%h >config/.git-commit-count -git describe --all --long > config/.git-commit-version \ No newline at end of file +git show --abbrev-commit --pretty=format:%h > git-commit-count +git describe --all --long > git-commit-version \ No newline at end of file -- GitLab