Test commit without commiting all staged files