开发者

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....


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜