300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > Your configuration specifies to merge with the ref ‘refs/hea

Your configuration specifies to merge with the ref ‘refs/hea

时间:2019-10-21 20:12:27

相关推荐

Your configuration specifies to merge with the ref ‘refs/hea

pod repo push 的时候遇到这个问题如图

执行pod repo push LBBRollingView /Users/liubo/Desktop/LBRollingView/LBRollingView.podspec --allow-warnings 命令的时候遇到了

Your configuration specifies to merge with the ref 'refs/heads/master'

from the remote, but no such ref was fetched. 报错,如图

后来发现是索引仓库是一个空仓库,没有分支

我们需要引入一个文件到仓库里面,这样就有了分支,注意,因为我们

的索引文件不是直接通过git push 推送到索引仓库的,所以我们首次 添加文件的时候需要手动

添加一个文件,这样就有了一个默认的分支

如图,创建索引仓库之后需要添加已存在的索引文件

选取文件之后记得要提交哦

添加过索引文件之后,在pod repo push 就成功了

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。