Commit before abandoning branch