add -d option
Enter/Leave mode intermediate commit