Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpstorm git pull --rebase

In phpstorm how do you do a git pull --rebase? I can't seem to find an option to do it. I would like this to be the default behavior as we are all working off the same branch.

I am doing the pull by Version Control > Git > Pull Changes....

like image 913
Will Avatar asked Feb 03 '23 17:02

Will


1 Answers

Just use the Version Control -> Update Project action. There you may choose the way of update: via merge (git pull) or via rebase (git pull --rebase) or via the default way for the current branch (it is merge by default).

The action also has more capabilities than Pull: it stashes/slelves your uncommitted changes if you have them, and restores them after update.

like image 93
LoKi Avatar answered Feb 05 '23 15:02

LoKi