mach-nix/git-hooks/pre-commit
2021-03-12 12:31:06 +07:00

4 lines
108 B
Bash
Executable file

#!/usr/bin/env bash
echo -n "$(git branch --show-current)" > ./mach_nix/VERSION
git add ./mach_nix/VERSION