I'd like to know how or if there's a way to keep the settings I mark checked inside the Pull Options area whenever I initiate a new pull request instead of having to re-check the boxes every time I pull. Checking the boxes on every time gives room for human errors where a user may forget to check a box and breaking the application.
I'll attach a screenshot of the Pull request window and mark the settings in a red box that I'd like to keep checked at all times, even when a new pull request is initiated.
As far as I know, Sourcetree does not remember the Pull Options checkboxes between pulls, because each one is a one-time flag passed to the underlying git command. The reliable way to make them "stick" is to set the matching git config values, which Sourcetree then respects automatically.
You can set these under Repository Settings or globally from a terminal:
git config pull.rebase truegit config fetch.prune truegit config merge.ff falseAdd --global to any of these to apply them across every repository instead of just the current one.
Which of the options in your screenshot matter most to you, the rebase and prune ones, or the commit behaviour? That decides which config keys are worth setting.
Cheers, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.