Small script for Git commits with different date.

This commit is contained in:
Markus Birth 2018-03-04 18:20:13 +01:00
parent dc30674698
commit 2ae57e9451
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

7
git_datedcommit.sh Executable file
View File

@ -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