Created
May 31, 2020 12:16
-
-
Save dimon4ezzz/0303db9fa473c7a4d24bf11410e21988 to your computer and use it in GitHub Desktop.
does git utc commit on unix-based systems
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 | |
git config --global alias.utccommit '!GIT_AUTHOR_DATE="$(date --utc +%Y-%m-%dT%H:%M:%S%z)" GIT_COMMITTER_DATE="$(date --utc +%Y-%m-%dT%H:%M:%S%z)" git commit' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment