aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
diff options
context:
space:
mode:
authorGravatar mr.Shu <mr@shu.io>2015-12-09 23:58:08 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-12-10 12:54:45 +0100
commit4280df3aa2dab8766642604d02cbb25f810b072b (patch)
tree4a6ffc441722dbccf3439859a27dd8817884a187 /share/completions/git.fish
parentb73bf53bd30cb8b6056888a473368968041dbe66 (diff)
git: Add missing options to `git clone`
* Add missing options to `git clone` in order to make the suggestions as similar to the manual (https://git-scm.com/docs/git-clone) as possible. Signed-off-by: mr.Shu <mr@shu.io>
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r--share/completions/git.fish11
1 files changed, 10 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index 42d37d27..850c7caa 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -292,7 +292,16 @@ complete -f -c git -n '__fish_git_using_command cherry-pick' -l ff -d 'Fast-forw
### clone
complete -f -c git -n '__fish_git_needs_command' -a clone -d 'Clone a repository into a new directory'
-# TODO options
+complete -f -c git -n '__fish_git_using_command clone' -l no-hardlinks -d 'Copy files instead of using hardlinks'
+complete -f -c git -n '__fish_git_using_command clone' -s q -l quiet -d 'Operate quietly and do not report progress'
+complete -f -c git -n '__fish_git_using_command clone' -s v -l verbose -d 'Provide more information on what is going on'
+complete -f -c git -n '__fish_git_using_command clone' -s n -l no-checkout -d 'No checkout of HEAD is performed after the clone is complete'
+complete -f -c git -n '__fish_git_using_command clone' -l bare 'Make a bare Git repository'
+complete -f -c git -n '__fish_git_using_command clone' -l mirror 'Set up a mirror of the source repository'
+complete -f -c git -n '__fish_git_using_command clone' -s o -l origin 'Use a specific name of the remote instead of the default'
+complete -f -c git -n '__fish_git_using_command clone' -s b -l branch 'Use a specific branch instead of the one used by the cloned repository'
+complete -f -c git -n '__fish_git_using_command clone' -l depth 'Truncate the history to a specified number of revisions'
+complete -f -c git -n '__fish_git_using_command clone' -l recursive 'Initialize all submodules within the cloned repository'
### commit
complete -c git -n '__fish_git_needs_command' -a commit -d 'Record changes to the repository'