mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 07:35:10 +01:00
rules: add checkout branch
This commit is contained in:
parent
5030a118d2
commit
0646317abc
1 changed files with 11 additions and 0 deletions
|
|
@ -97,3 +97,14 @@ suggest = [
|
||||||
git pull --set-upstream origin {{shell(git rev-parse --abbrev-ref HEAD)}}
|
git pull --set-upstream origin {{shell(git rev-parse --abbrev-ref HEAD)}}
|
||||||
git pull'''
|
git pull'''
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[match_err]]
|
||||||
|
pattern = [
|
||||||
|
"a branch named"
|
||||||
|
]
|
||||||
|
suggest = [
|
||||||
|
'''
|
||||||
|
#[cmd_contains(branch)]
|
||||||
|
git checkout {{command[2]}}
|
||||||
|
'''
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue