commit and push while dealing with internet outage