I would like to configure git in a way to get the best of these both options, which are unfortunately mutually exclusive:
[pull]
ff = only
rebase = true
Basically, I want to automatically rebase when pulling, but if there are conflicts, the rebase should be aborted.
This way, if I update in the background, my repository always stays in a valid state.