| 1 |
# gitstatus |
| 2 |
|
| 3 |
This package allows to include information about a git-repository into a document. |
| 4 |
|
| 5 |
## Introduction |
| 6 |
|
| 7 |
If your LaTeX-document is version-controlled with git, you might encounter situations, where you want to include some information of your git-repository into your LaTeX-document - e.g. to keep track on who gave you feedback on which version of your document. |
| 8 |
|
| 9 |
## Options |
| 10 |
|
| 11 |
- *gitdir* - custom git dir (can be relative), (default is ".git/", meaning your LaTeX document is in the top level of your repo) |
| 12 |
- *watermark* - watermark with branch + hash on top of page (default: don't use watermark) |
| 13 |
- *nowatermark* - same as watermark=false |
| 14 |
- *novariables* - disable creation of variables (default: false) |
| 15 |
|
| 16 |
## Variables |
| 17 |
|
| 18 |
Apart from the option to add a watermark at the top of the page that mentions the current commit hash and branch-name, the package also provides variables with the same information for individual use. |
| 19 |
These variables are: |
| 20 |
|
| 21 |
- *\gitdir* |
| 22 |
- *\gitcommit* |
| 23 |
- *\gitbranch* |
| 24 |
|
| 25 |
## About |
| 26 |
|
| 27 |
### Version |
| 28 |
|
| 29 |
The package is currently at version v1.1. |
| 30 |
|
| 31 |
### Maintainer |
| 32 |
|
| 33 |
The code is created and maintained by Maximilian Gruber. |
| 34 |
|
| 35 |
### License |
| 36 |
|
| 37 |
This package is provided under the LaTeX Project Public License (LPPL). |