I don't know how to commit the entire index file