git-hook
The git-hook command extends Workstate’s power into your Git workflow.
workstate git-hook [COMMAND]Sub-commands
Section titled “Sub-commands”install
Section titled “install”Installs post-checkout and pre-push hooks in .git/hooks/.
- post-checkout: Triggers on branch change, suggesting a
sync. - pre-push: Triggers on push, suggesting a
save.
uninstall
Section titled “uninstall”Removes the hooks installed by Workstate.
Examples
Section titled “Examples”workstate git-hook install