Sublime Forum

How to Change Default Behavior of Pull Button?

#1

How do I change the default behavior of pull button? It’s --ff-only by default and it’s highlighted when I press down arrow right of the pull button. I tried selecting other option (I need --rebase) with right mouse button and this is indeed changing the highlight, though has no effect and highlight resets next time I open that menu.

Also if you hold left mouse button on non highlighted pull option then drag it to another while holding LMB and then release it – item on which you pressed LMB will remain highlighted. Though it also does not change default behavior.

0 Likes

#2

The default pull behavior can’t be changed at the moment.

The basic idea is to call pull --ff-only. If the remote branch diverges from your local one, SM will display a little yellow icon in the right end of the info area. By pressing it, you can decide whether to merge or rebase. Clicking onto “rebase” button will have the same result as pull --rebase has.

1 Like