git add . git commit -m "update" git reset $(git commit-tree "HEAD^{tree}" -m "init") git push origin master -f