Skip to content

Instantly share code, notes, and snippets.

@awps
Created February 25, 2026 13:59
Show Gist options
  • Select an option

  • Save awps/1efc16c971b32cca6f3a69023f2fa628 to your computer and use it in GitHub Desktop.

Select an option

Save awps/1efc16c971b32cca6f3a69023f2fa628 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in {30..1}; do
D=$(date -v-"$i"d +%Y-%m-%d)
GIT_COMMITTER_DATE="$D 12:00:00" git commit --date="$D 12:00:00" -m "Commit $D" --allow-empty
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment