commit config factory