PkgTemplates.jl
PkgTemplates.jl copied to clipboard
Add automatic hooks
trafficstars
I routinely add a post-commit hook to automatically upload commits to the remote. It would be nice if generate automatically took care of this.
This definitely won't become default behaviour from generate because it's not all that common, but I'll definitely look into adding some hooking plugins. Thanks!
If what I read is correct, the hook that you're referring to is basically just this script in .git/hooks/post-commit, right?
#!/usr/bin/env sh
git push myremotename mybranchname