Skip to content

Instantly share code, notes, and snippets.

@kaubu
Last active July 21, 2023 15:16
Show Gist options
  • Save kaubu/d7f10be504ba073622a62817d6d6d89a to your computer and use it in GitHub Desktop.
Save kaubu/d7f10be504ba073622a62817d6d6d89a to your computer and use it in GitHub Desktop.
Set the default global git tz to the default
git config --global log.date default
# Environmental variable
TZ=UTC
# Windows CMD and Powershell (for now), has to be ran as Administrator
setx TZ UTC /m
# Windows Powershell
$env:TZ = "UTC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment