Created
October 5, 2019 14:04
-
-
Save Mattias-/bdb70082c57bc882d3b03dfce5b66659 to your computer and use it in GitHub Desktop.
Reproducable repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
git init "$1" | |
export GIT_AUTHOR_DATE='2000-01-01 00:00:00 +0000' | |
export GIT_AUTHOR_NAME='a' | |
export GIT_AUTHOR_EMAIL='a' | |
export GIT_COMMITTER_DATE="${GIT_AUTHOR_DATE}" | |
export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME}" | |
export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}" | |
git -C "$1" commit --allow-empty -m "Initial commit" -m "Randomly constructed message: | |
16fc7-1-46341529" | |
git -C "$1" show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment