GitHub Enterprise automatically synchronizes its clock by connecting to NTP servers. If for some reason the clock starts to drift, there are a few ways to re-adjust it.
You can:
- Use the
ntpdate
command to synchronize the server with an NTP server. For example:
sudo service ntp stop sudo ntpdate 0.ubuntu.pool.ntp.org sudo service ntp start
Set new NTP servers if your installation cannot access the default ones.
Prevent your hypervisor from trying to set the virtual machine's clock. For example, you may be able to accomplish this on VMware by unselecting Synchronize guest time with host.
Note: You cannot modify the Coordinated Universal Time (UTC) zone.