python--用python操做Git

用python操做Git 使用第三方模块gitpythonpython 安装gitpython pip install gitpython 代码 from git import Repo r = Repo("C:\\Users\\robert\\Desktop\\test") # 建立一个操做对象 # git add 添加测试.txt r.index.add([r'C:\Users\rober
相关文章
相关标签/搜索