From 2ae57e94519f34ddce702ade1752d802620f1ba7 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 4 Mar 2018 18:20:13 +0100 Subject: [PATCH] Small script for Git commits with different date. --- git_datedcommit.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 git_datedcommit.sh diff --git a/git_datedcommit.sh b/git_datedcommit.sh new file mode 100755 index 0000000..1985884 --- /dev/null +++ b/git_datedcommit.sh @@ -0,0 +1,7 @@ +#!/bin/sh +if [ -z "$1" ]; then + echo "Syntax: $0 date-stamp" + exit 1 +fi +GIT_AUTHOR_DATE="$1" GIT_COMMITTER_DATE="$1" git commit +