Mysql import error: Invalid Datetime default value 0000-00-00 00:00:00 Use the following import command to resolve the problem: mysql -uroot -p database_name --init-command="SET SESSION FOREIGN_KEY_CHECKS=0;SET SQL_MODE='ALLOW_INVALID_DATES';" < database_dump.sql
git How to reset remote GIT branch to a certain commit git reset --hard <commit-hash> git push -f origin master