mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
add: git rule file
This commit is contained in:
parent
de07ea7532
commit
0118ebd4db
1 changed files with 44 additions and 0 deletions
44
rules/git.toml
Normal file
44
rules/git.toml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
command = "git"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"is not a git command"
|
||||
]
|
||||
suggest = [
|
||||
"""
|
||||
{{command[0]}} {{typo[1](\
|
||||
add,\
|
||||
am,\
|
||||
archive,\
|
||||
bisect,\
|
||||
branch,\
|
||||
bundle,\
|
||||
checkout,\
|
||||
cherry-pick,\
|
||||
citool,\
|
||||
clean,\
|
||||
clone,\
|
||||
commit,\
|
||||
describe,\
|
||||
diff,\
|
||||
fetch,\
|
||||
format-patch,\
|
||||
gc,\
|
||||
gitk,\
|
||||
grep,\
|
||||
gui,\
|
||||
init,\
|
||||
log,\
|
||||
maintenance,\
|
||||
merge,\
|
||||
mv,\
|
||||
notes,\
|
||||
pull,\
|
||||
push,\
|
||||
range-diff,\
|
||||
rebase,\
|
||||
reset,\
|
||||
restore,\
|
||||
)}}\
|
||||
{{command[2:]}}"""
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue