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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.