PkgTemplates.jl icon indicating copy to clipboard operation
PkgTemplates.jl copied to clipboard

Add automatic hooks

Open cossio opened this issue 7 years ago • 1 comments
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.

cossio avatar Dec 14 '17 11:12 cossio

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

christopher-dG avatar Dec 14 '17 11:12 christopher-dG