开发者

phpstorm git pull --rebase

开发者 https://www.devze.com 2023-03-15 11:48 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消