Last active
January 20, 2018 13:45
-
-
Save cssence/8a266c760c00386e5c946b95437062e5 to your computer and use it in GitHub Desktop.
This file contains 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 | |
read -p "Ensure param #1 (\"$1\") format is \"YYYY-MM-DDThh:mm:ss\", then press [ENTER] to commit..." | |
GIT_AUTHOR_DATE="$1" GIT_COMMITTER_DATE="$1" git commit $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example date: 2016-12-11T12:34:56