fix no commits error on initial commit