0
我正在使用pygit2在远程存储库上创建分支。 如果是在本地存储库中,我将使用过:使用pygit2在远程存储库上创建分支
repo=pygit2.Repository(repo_url)
repo.create_branch('branch1', repo.head.get_object(), force=False)
但是,当我给函数库的远程URL(不是一个路径)它不工作,有没有解决方案?
我很确定你只能通过'推'来创建远程分支。 – larsks 2015-02-10 15:43:35
,我该怎么办? – 2015-02-10 15:44:44