mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Add completions for git checkout --ours/--theirs (#4380)
* Add completions for git checkout --ours/--theirs * Change description for `git checkout --ours/--theirs´ completions
This commit is contained in:
parent
c2f0a45d60
commit
6145b4a770
1 changed files with 2 additions and 0 deletions
|
@ -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' -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 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' -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
|
# TODO options
|
||||||
|
|
||||||
### apply
|
### apply
|
||||||
|
|
Loading…
Reference in a new issue