[英]Composer/Packagist ignore branches
So I have the following branches in my Github repo: (follows "git flow") 所以我在我的Github回购中有以下分支:(跟随“git flow”)
I already know how to create branch aliases, such as for the releases. 我已经知道如何创建分支别名,例如发布版本。 I could technically remove the
composer.json
file each time I add a new feature branch and then commit it back in once I am ready to merge it into develop
, but that would be very annoying and easy to forget. 每次我添加一个新的功能分支然后将其提交回来,我可以在技术上删除
composer.json
文件。我准备将它合并到develop
,但这将非常烦人且容易忘记。
My Question: How can I hide the feature branches from Packagist? 我的问题:如何隐藏Packagist中的功能分支?
如果分支在根文件夹中不包含composer.json
文件,则可以从packagist隐藏分支。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.