📕 subnode [[@vera/git hooks]]
in 📚 node [[git-hooks]]
-
I'm testing creating a post-commit hook that copies over new notes to public repo and pushes them to [[gitlab]]
- OMG it worked heh here it is
cat .git/hooks/post-commit
- OMG it worked heh here it is
#!/bin/sh
cd ../yolo-pub
rsync ../yolo/*.md .
git add .
git commit -m post-commit-hook
git push
📖 stoas
- public document at doc.anagora.org/git-hooks
- video call at meet.jit.si/git-hooks