Last active
December 28, 2015 22:49
-
-
Save banyan/7574810 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
systemsetup -getusingnetworktime | grep On >/dev/null 2>&1 | |
if [ $? -ne 0 ]; then | |
systemsetup -setusingnetworktime on | |
echo "Hi, bring back to now from a future." | |
sleep 1 | |
git commit -C HEAD --amend --date="`LANG=en date`" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment