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

配置

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)
分类: git操作

0 条评论

发表回复

您的电子邮箱地址不会被公开。