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, e.g. ntpdate 0.ubuntu.pool.ntp.org

  • 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.

Further reading