So in my .git/hooks folder I have a file named post-commit that looks like
rm version.txt -i
git describe --tags >> version.txt
Basically the idea being that after every commit, I write the "git describe"
to a file in my repository called version.txt. This script works fine
except that I obviously once the file is edited, it needs to be committed.
How should I achieve this end goal?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at