def METHOD_NAME(version: str):
    # Might want to work out some magic here to auto-identify the version from the commit
    if version == None:
        print("Version required for undo operation (try --help)")
        sys.exit(1)
    # Delete the version (good verification all by itself really)
    subprocess.run(["git", "tag", "-d", "v" + version], check=True)
    # Tag the commit we're about to delete because we could be deleting the wrong thing.
    savename = "version-undo-backup-" + str(int(time.time()))
    subprocess.run(["git", "tag", savename], check=True)
    # *Outright eliminate the commit from the branch!* - Dangerous if we get rid of the wrong commit, hence backup
    subprocess.run(["git", "reset", "--keep", "HEAD^"], check=True)
    print("Done (deleted commit saved as " + savename + ")")