7
我在github中有大约100个仓库,我必须将它们全部导入到bitbucket。什么是最简单的自动化方法?如何轻松导入大量存储库到bitbucket?
我在github中有大约100个仓库,我必须将它们全部导入到bitbucket。什么是最简单的自动化方法?如何轻松导入大量存储库到bitbucket?
回答评论说:
使用以下命令:
curl --request POST --user username:password https://api.bitbucket.org/1.0/repositories --data name=myrepo --data scm=git
好吧,我发现怎么做我自己。使用以下命令: curl --request POST --user username:password https://api.bitbucket.org/1.0/repositories/ --data name = myrepo --data scm = git 参考:http: //confluence.atlassian.com/display/BITBUCKET/Repositories – RandomGuy
很好,你自己解决了这个问题!请发表以下答案作为真实答案。您可以在两天后接受答案。 –