Reset local changes before building the docs