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...
.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With