A git pre-commit hook that ensures all LaTeX documents are up-to-date.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
pre-commit.sh

README.md

latex-git-hook

Git commit hook to ensure latex documents are up-to-date. Checks documents on all levels of the repository, given that both <document>.pdf and <document>.tex exist.

Setup

Either copy this script to <repo>/.git/hooks/pre-commit or link it there. Make sure it's executable.

Credits