mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
Add completions for git checkout --ours/--theirs (#4380)
* Add completions for git checkout --ours/--theirs
* Change description for `git checkout --ours/--theirs´ completions
(cherry picked from commit 6145b4a770
)
This commit is contained in:
parent
c5b7cc070e
commit
248de41d70
|
@ -369,6 +369,8 @@ complete -f -c git -n '__fish_git_using_command checkout' -a '(__fish_git_tags)'
|
|||
complete -f -c git -n '__fish_git_using_command checkout' -a '(__fish_git_modified_files)' --description 'File'
|
||||
complete -f -c git -n '__fish_git_using_command checkout' -s b -d 'Create a new branch'
|
||||
complete -f -c git -n '__fish_git_using_command checkout' -s t -l track -d 'Track a new branch'
|
||||
complete -f -c git -n '__fish_git_using_command checkout' -l theirs -d 'Keep staged changes'
|
||||
complete -f -c git -n '__fish_git_using_command checkout' -l ours -d 'Keep unmerged changes'
|
||||
# TODO options
|
||||
|
||||
### apply
|
||||
|
|
Loading…
Reference in New Issue
Block a user