mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-06 02:01:30 +08:00
Tweak git completion wording (review for #8062)
This commit is contained in:
parent
b8767cc803
commit
48426d6285
@ -1549,7 +1549,7 @@ complete -f -c git -n "__fish_git_using_command reflog; and not __fish_seen_subc
|
||||
complete -c git -n __fish_git_needs_command -a reset -d 'Reset current HEAD to the specified state'
|
||||
complete -f -c git -n '__fish_git_using_command reset' -l hard -d 'Reset the index and the working tree'
|
||||
complete -f -c git -n '__fish_git_using_command reset' -l soft -d 'Reset head without touching the index or the working tree'
|
||||
complete -f -c git -n '__fish_git_using_command reset' -l mixed -d 'Reset the index but not the working tree'
|
||||
complete -f -c git -n '__fish_git_using_command reset' -l mixed -d 'The default: reset the index but not the working tree'
|
||||
complete -c git -n '__fish_git_using_command reset; and not contains -- -- (commandline -opc)' -a '(__fish_git_branches)'
|
||||
# reset can either undo changes to versioned modified files,
|
||||
# or remove files from the staging area.
|
||||
@ -1605,7 +1605,7 @@ complete -f -c git -n __fish_git_needs_command -a rev-parse -d 'Pick out and mas
|
||||
complete -f -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_branches)'
|
||||
complete -f -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_heads)' -d Head
|
||||
complete -k -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_tags)' -d Tag
|
||||
complete -c git -n '__fish_git_using_command rev-parse' -l abbrev-ref -d 'A non-ambiguous short name of the objects name'
|
||||
complete -c git -n '__fish_git_using_command rev-parse' -l abbrev-ref -d 'Output non-ambiguous short object names'
|
||||
|
||||
### revert
|
||||
complete -f -c git -n __fish_git_needs_command -a revert -d 'Revert an existing commit'
|
||||
|
Loading…
x
Reference in New Issue
Block a user