Skip to content

Instantly share code, notes, and snippets.

@DevoKun
Created February 18, 2019 15:45
Show Gist options
  • Save DevoKun/950c47060cc21ffa6d716de0b27404c0 to your computer and use it in GitHub Desktop.
Save DevoKun/950c47060cc21ffa6d716de0b27404c0 to your computer and use it in GitHub Desktop.
Make a git commit in the past
export GIT_COMMITTER_DATE="Sep 8, 2012 13:33:48 PM GMT-0500"
git add makepass.exe makepass.lst makepass_exe.md
git commit --date "${GIT_COMMITTER_DATE}" -m "Added MakePass.EXE info from archive.org." makepass.exe makepass.lst makepass_exe.md
export GIT_COMMITTER_DATE="Sep 8, 2012 20:20:20 AM GMT-0500"
git add index.php
git commit --date "${GIT_COMMITTER_DATE}" -m "PHP script to generated passwords based on MakePass.EXE" index.php
export GIT_COMMITTER_DATE="Feb 24, 2016 8:04:37 AM GMT-0500"
git commit --date "${GIT_COMMITTER_DATE}" -m "Converted website from PHP to Javascript"
export GIT_COMMITTER_DATE="$(date)"
git commit -m "Added copy-to-clipboard link."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment