rules(git): divergent pull

This commit is contained in:
iff 2025-01-13 20:46:51 +01:00
parent 334e9cd70d
commit 8c911fb09a

View file

@ -141,3 +141,16 @@ git stash && \
{{command}} && \
git stash pop '''
]
[[match_err]]
pattern = [
"you have divergent branches and need to specify how to reconcile them"
]
suggest = [
'''
#[cmd_contains(pull)]
{{command}} --rebase ''',
'''
#[cmd_contains(pull)]
{{command}} --merge '''
]