commit A B