[英]How to automate feature branch merge on to develop?
Using WebStorm IDE and typical gitflow.使用 WebStorm IDE 和典型的 gitflow。 Day by day I am do same operations after work on feature is finished:在功能完成后,我每天都在做同样的操作:
Are there any plugins to automate this simple actions (except #5) by one button?是否有任何插件可以通过一个按钮自动执行此简单操作(#5 除外)?
"One button": you would need to record a macro and bind a keyboard shortcut to said macro. “一键式”:您需要录制一个宏并将键盘快捷键绑定到该宏。
But that would not take into account the comment you need to enter when merging, or the potential conflict resolution.但这不会考虑您在合并时需要输入的注释或潜在的冲突解决方案。
You could also write a script, and declaring it as an external tool .您还可以编写脚本,并将其声明为外部工具。
In that script, the merge step would stop if there is conflict.在该脚本中,如果发生冲突,合并步骤将停止。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.