摘要: 安装第三方模块 pip install gitpython 使用 from git import Repo r = Repo("C:\\Users\\robert\\Desktop\\test") # 创建一个操作对象 # git add 添加测试.txt r.index.add([r'C:\Use 阅读全文
posted @ 2020-03-21 21:57 John-Python 阅读(9556) 评论(0) 推荐(1) 编辑