GitPython 使用基础

1,安装问题

  pip install GitPython

一共会有4个包

2,前提

a,本地安装已经git 工具

b,如果出现这个错误,说明 该目录没有进行git 初始化 

 

3,GitPython 使用基础 

参考资料:

 

https://www.cnblogs.com/hushaojun/p/4903262.html

 

https://api.bitbucket.org/2.0/repositories/%s/%s/pullrequests/%s" % (
            owner, proj, pr_id)

"href": "https://api.bitbucket.org/2.0/repositories/jespern/cx/watchers"}, "branches": {"href": "https://api.bitbucket.org/2.0/repositories/jespern/cx/refs/branches"}, "tags": {"href": "https://api.bitbucket.org/2.0/repositories/jespern/cx/refs/tags"}, "commits": {"href": "https://api.bitbucket.org/2.0/repositories/jespern/cx/commits"}, "clone": [{"href": "https://bitbucket.org/jespern/cx", "name": "https"}, {"href": "ssh://hg@bitbucket.org/jespern/cx", "name": "ssh"}], "self": {"href": "https://api.bitbucket.org/2.0/repositories/jespern/cx"}, "source": {"href": "https://api.bitbucket.org/2.0/repositories/jespern/cx/src"},
 
posted @ 2018-11-08 08:34  allen514519  阅读(1113)  评论(0)    收藏  举报