17 lines
723 B
TeX
17 lines
723 B
TeX
\section{VERSION}
|
|
\subsection{git}
|
|
\#: \gitAbbrevHash\\
|
|
@: \gitAuthorIsoDate\\
|
|
\gitReferences
|
|
\subsection{gitinfo2 -- setup}
|
|
\href{https://www.ctan.org/tex-archive/macros/latex/contrib/gitinfo2}{Gitinfo 2}
|
|
\subsubsection{git hooks}
|
|
To fill watermark at buttom, deploy gitinfo2-hook.txt to githooks: (copy and make executable) or use \texttt{make git}
|
|
\begin{itemize}
|
|
\item .git/hooks/post-checkout
|
|
\item .git/hooks/post-commit
|
|
\item .git/hooks/post-merge
|
|
\end{itemize}
|
|
\subsubsection{remove watermark}
|
|
To disable watermark, remove option \texttt{[mark]} from \textbackslash usepackage[mark]\{gitinfo2\} in \textit{config/commands.tex} at line 16.
|