From 766ab7fd2e206f29cc60abebe19130db39ee372f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BChlmann?= Date: Thu, 18 Mar 2021 16:30:58 +0100 Subject: [PATCH] Added minimum git version to documentation. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 615cdbe..ea0482f 100644 --- a/README.md +++ b/README.md @@ -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