https://blog.csdn.net/alice_tl/article/details/90489998
https://www.osgeo.cn/gitpython/tutorial.html(官方)
https://www.jb51.net/article/181646.htm
https://www.cnblogs.com/ghylpb/p/12513908.html#_label2_0
配置
- 读取和更新git配置
https://cloud.tencent.com/developer/ask/sof/1506267
读:
repo = Repo(dir_of_repository)
user_name = repo.config_reader().get_value("user", "name")
写:
with repo.config_writer() as config:
config.set_value("git-p4", "client", p4client)
0 条评论