commit before abandoning branch