Commit config and index