Phpstorm git pull --rebase

In phpstorm how do you do git pull --rebase ? I can't seem to find a way to do this. I would like this to be the default behavior, since we all work on the same branch.

I am doing pull on Version Control > Git > Pull Changes...

+6
source share
1 answer

Just use the Version Control -> Update Project action. There you can choose the update method: through merge ( git pull ) or through rebase ( git pull --rebase ) or by default for the current branch (by default it is a merge).

The action also has more features than Pull: it commits / releases your uncommitted changes, if you have them, and restores them after the update.

+8
source

Source: https://habr.com/ru/post/891224/


All Articles