1,There is no license information available for the latest version (v1.0.0) of this package.:没有允许的协议什么的,在composer.json中添加:
"license": "MIT",
2,efusing to merge unrelated histories
推荐查看https://blog.csdn.net/u012145252/article/details/80628451
解决
git pull origin master --allow-unrelated-histories
3,切记一定要打版本号
git tag v1.0.1 // 版本号
git tag -l // 查看有哪些版本号
git push origin --tags // 将所有版本号push到远程仓库
推荐参考文章
composer提交php包的过程:https://segmentfault.com/a/1190000013947602
git tag有关知识:https://git-scm.com/book/zh/v1/Git-%E5%9F%BA%E7%A1%80-%E6%89%93%E6%A0%87%E7%AD%BE