github - How can I change my git timezone offset? -
i read --date argument when adding commit can used specify timestamp , timezone offset. i'm curious if there's way globally set timezone offset matches timezone.. i'm in est -0500 utc, , whenever commit , force github contributions never shows on right day. ie. it's 2:00 git sets timezone offset utc. when commit/push changes github show 9 pm utc.
i've got bit of ocd acting right now.
git gets time zone system's configuration, if configure scheme correctly git should utilize right time zone. run date +%z
check system's configuration.
perhaps git using right time zone github displaying time using wrong time zone. after create commit, run git show
, check offset. if it's correct, problem github.
git github timestamp commit
No comments:
Post a Comment