Skip to content

Git hooks stopped working but started with no apparent reason

Daisho Komiyama edited this page Jan 8, 2018 · 1 revision

When I tried to push to production with git push production master it returned error as

ssh: connect to host daishodesign.com port 22: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

But after adding the domain daishodesign.com to hosts file, git hooks started working.

Maybe it is related that the domain name was in the middle of transferring from Hostgator's DNS to Vultr's.

Clone this wiki locally