reset the local code repo