mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
added options for git add
This commit is contained in:
parent
568de8157a
commit
b8028c1b1d
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ complete -f -c git -n '__fish_git_using_command show-branch' -a '(__fish_git_hea
|
||||||
### add
|
### add
|
||||||
complete -c git -n '__fish_git_needs_command' -a add -d 'Add file contents to the index'
|
complete -c git -n '__fish_git_needs_command' -a add -d 'Add file contents to the index'
|
||||||
complete -f -c git -n '__fish_git_using_command add; and __fish_contains_opt -s p patch' -a (__fish_git_modified_files)
|
complete -f -c git -n '__fish_git_using_command add; and __fish_contains_opt -s p patch' -a (__fish_git_modified_files)
|
||||||
|
complete -f -c git -n '__fish_git_using_command add' -s p -d 'Interactively add hunks to staging area'
|
||||||
|
complete -f -c git -n '__fish_git_using_command add' -s u -d 'Update already tracked files'
|
||||||
# TODO options
|
# TODO options
|
||||||
|
|
||||||
### checkout
|
### checkout
|
||||||
|
|
Loading…
Reference in a new issue