stagit-hook.1 (895B)
1 .Dd October 19, 2025 2 .Dt STAGIT-HOOK 1 3 .Os 4 .Sh NAME 5 .Nm stagit-hook 6 .Nd Git hook to automatically run stagit 7 .Sh SYNOPSIS 8 .Nm 9 .Nm 10 .Ar install repo Op Ar ... 11 .Nm 12 .Ar reindex repo Op Ar ... 13 .Sh DESCRIPTION 14 When used without any arguments, 15 the 16 .Nm 17 utility behaves like a post-update git hook. When run with the 18 .Ar install 19 command, a post-update hook is installed in the given repositories 20 and an initial set of stagit files are generated. To force reindexing 21 of a repository, you may use the 22 .Ar reindex 23 command. 24 .Pp 25 .Sh FILES 26 .Bl -tag -width Ds 27 .It Pa /etc/stagit-hook 28 .Xr stagit-hook 5 29 configuration file. 30 .El 31 .Sh EXIT STATUS 32 .Ex -std 33 .Sh EXAMPLES 34 .Pp 35 Install stagit hook in the 36 .Qq example 37 repository: 38 .Pp 39 .Dl $ stagit-hook install ./example 40 .Pp 41 .Sh SEE ALSO 42 .Xr stagit 1 , 43 .Xr stagit-index 1 , 44 .Xr githooks 5 , 45 .Xr stagit-hook 5 46 .Sh AUTHORS 47 .An Jacob R. Edwards Aq Mt jacob@jacobedwards.org