Combine git commit and push

Currently to push changed/added files to repo, we have to run the commit command first (via toolbar or menu option) and THEN push to get them on remote repo. Is there any way to combine these two actions into one so that I dont have to press commit and then push ? Thanks

6 comments
Comment actions Permalink

Pay attention to dropdown arrow on commit dialog's "Commit" button.

0
Comment actions Permalink

Yeah noticed that afterwards. Thanks

0
Comment actions Permalink

sure this thread is several years old, but i have similar issue. i choose "commit & push" then it does the commit and prompts me if i want to "push" (or "force push"). I already chose commit & push, why are you asking me to push? how do i get rid of the 2nd prompt?

0
Comment actions Permalink

Michael, it's not just asking for you confirmation, you can change details there - select a remote or change the branch. That's why it's there.

0
Comment actions Permalink

I've been using PHPStorm for a few months now and this "feature" still tricks me every. single. time!

Please, add an option that simply does the "commit & push now" without the 2nd prompt for a push!

0

Please sign in to leave a comment.