Skip to content

Commit

Permalink
git: clone - added missing flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Mar 23, 2024
1 parent 9910089 commit c431785
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions completers/git_completer/cmd/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func init() {
cloneCmd.Flags().Bool("mirror", false, "create a mirror repository (implies bare)")
cloneCmd.Flags().BoolP("no-checkout", "n", false, "don't create a checkout")
cloneCmd.Flags().Bool("no-hardlinks", false, "don't use local hardlinks, always copy")
cloneCmd.Flags().Bool("no-local", false, "override --local, as if file:/// URL was given")
cloneCmd.Flags().Bool("no-single-branch", false, "clone history leading up to each branch")
cloneCmd.Flags().Bool("no-tags", false, "don't clone any tags, and make later fetches not to follow them")
cloneCmd.Flags().StringP("origin", "o", "", "use <name> instead of 'origin' to track upstream")
cloneCmd.Flags().Bool("progress", false, "force progress reporting")
Expand All @@ -37,6 +39,7 @@ func init() {
cloneCmd.Flags().String("recursive", "", "alias of --recurse-submodules")
cloneCmd.Flags().String("reference", "", "reference repository")
cloneCmd.Flags().String("reference-if-able", "", "reference repository")
cloneCmd.Flags().Bool("reject-shallow", false, "do not clone shallow repository")
cloneCmd.Flags().Bool("remote-submodules", false, "any cloned submodules will use their remote-tracking branch")
cloneCmd.Flags().String("separate-git-dir", "", "separate git dir from working tree")
cloneCmd.Flags().String("server-option", "", "option to transmit")
Expand Down

0 comments on commit c431785

Please sign in to comment.