commit the log to local.

commit the log to local.