def git_reset(commit_id):
    env.commit_id = commit_id
    run("cd %(repo_path)s; git reset --hard %(commit_id)s" % env)
Reset the git repository to an arbitrary commit hash or tag.
dataset/ETHPy150Open ireapps/census/censusweb/fabfile.py/git_reset