darkrc/bin/git-timeshift

6 lines
127 B
Text
Raw Permalink Normal View History

2021-01-22 08:32:36 +00:00
#!/bin/sh
DATE="$1"; shift 1
export GIT_AUTHOR_DATE=$(date +%s -d "$DATE")
export GIT_COMMITTER_DATE=$GIT_AUTHOR_DATE
git "$@"