G
G
Gigabiter2017-03-27 10:51:08
git
Gigabiter, 2017-03-27 10:51:08

How to send all changes in all branches at once in phpstorm via git?

Forced to use PHPStorm and SourceTree at the same time, and only for the fact that in SourceTree, when you do a push, you can choose which branches to send. Very useful when working as GitFlow when you need to upload a hotfix or release at once develop and master. In a storm, this requires switching between these branches and submitting each one separately. Is it possible to send other branches in a storm somehow without switching between branches, and preferably several at the same time? The option with the console in the storm is understandable, but would you like something more user friendly?
bfc2619639b04cd590632cf68979fe2d.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
toxa82, 2017-04-06
@toxa82

Have a look at setting git push.default with the matching parameter. But it will push all branches, not selected ones.

I
Igor Vorotnev, 2017-04-06
@HeadOnFire

IMHO, the process should be slightly different. It is impossible to push in the master, it should be generally closed for pushes, because automatic deployment should go from it. Accordingly, the hotfix goes to the develop branch, the whole process goes through there (code review, deployment to staging, phpcs, etc. - depends on how your development is set up), and only after testing and "approving" the hotfix, a pull request is made to the master, accepted team leader (even if you are alone in the team and your own team leader), and after gluing it is automatically deployed to the production.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question