rules: git pull branch

This commit is contained in:
iff 2023-08-04 01:50:20 +02:00
parent 99d7941e8b
commit 5030a118d2

View file

@ -86,3 +86,14 @@ suggest = [
git push --set-upstream origin {{shell(git rev-parse --abbrev-ref HEAD)}}
'''
]
[[match_err]]
pattern = [
"no tracking information for the current branch"
]
suggest = [
'''
#[cmd_contains(pull)]
git pull --set-upstream origin {{shell(git rev-parse --abbrev-ref HEAD)}}
git pull'''
]