git branch
curl -o .git/hooks/commit-msg http://101.43.95.130:8082/tools/hooks/commit-msg chmod +x .git/hooks/commit-msg
git reset HEAD~1 --soft git commit -m "你的提交信息"
git commit --amend --no-edit
git log -1
git push origin HEAD:refs/for/master
Deleting the wiki page "提交代码时候的钩子" cannot be undone. Continue?