Added minimum git version to documentation.

This commit is contained in:
Matthias Bühlmann
2021-03-18 16:30:58 +01:00
parent 2feadf9c40
commit 766ab7fd2e

View File

@@ -11,6 +11,8 @@ By using this post-commit hook in a repository and thereby adding secure timesta
# How to use this software
These hooks were written for git 2.30 and newer (they may or may not work with older versions of git).
0. (optional, but recommended) If you're ceating a new repository, it is strongly recommended to use SHA256 hashes (git uses SHA1 by default at the time of writing) by initializing the repository using `git init --object-format=sha256` (Note: If you want to use a public hosting server such as github for your repository, you should check whether they already support SHA256 repositories). For more information, see https://git-scm.com/docs/hash-function-transition/
1. Copy the four bash scripts in the [hooks](hooks/) folder of this project into the .git/hooks folder of the project you want to timestamp.
2. Configure the TSA url you want to use (in this example https://freetsa.org/tsr) using