Зачем делать такую команду:
git merge HEAD@{2}
$ chmod +x .git/hooks/{applypatch-msg,commit-msg,pre-commit,pre-applypatch}