1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
falkonOfficial/git_hooks/post-commit
nowrep 4fc30fca05 Edited getrevision.sh script and added one git hook
- git hook to automatically update revision number after
  commiting changes
2012-01-28 13:05:16 +01:00

6 lines
124 B
Bash
Executable File

#!/bin/sh
#
# Writes git revision into git_revision file
#
git show-ref refs/heads/master | cut -d " " -f 1 > git_revision