Save vim commit message Press ESC to make sure you are out of the edition mode and then type: :wq Delete remote branch $ git push <remote_name> --delete <branch_name>