import os

commit_string = "选择data的前多少个维度参与训练"
not_add = ['results', 'data', 'weights']
for item in os.listdir():
    if item in not_add:
        # print(item)
        continue
    else:
        os.system(f"git add {item}")
os.system(f'git commit -m "{commit_string}"')
os.system("git push origin main")
[((100, 112), 'os.listdir', 'os.listdir', ([], {}), '()\n', (110, 112), False, 'import os\n'), ((224, 269), 'os.system', 'os.system', (['f"""git commit -m "{commit_string}\\""""'], {}), '(f\'git commit -m "{commit_string}"\')\n', (233, 269), False, 'import os\n'), ((270, 303), 'os.system', 'os.system', (['"""git push origin main"""'], {}), "('git push origin main')\n", (279, 303), False, 'import os\n'), ((195, 223), 'os.system', 'os.system', (['f"""git add {item}"""'], {}), "(f'git add {item}')\n", (204, 223), False, 'import os\n')]