Skip to content

Commit

Permalink
Merge pull request #2323 from carapace-sh/git-push-flags
Browse files Browse the repository at this point in the history
git: push - added missing flags
  • Loading branch information
rsteube authored Apr 1, 2024
2 parents 982256a + 7b3f8f2 commit b13bba4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completers/git_completer/cmd/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ func init() {
pushCmd.Flags().String("exec", "", "receive pack program")
pushCmd.Flags().Bool("follow-tags", false, "push missing but relevant tags")
pushCmd.Flags().BoolP("force", "f", false, "force updates")
pushCmd.Flags().Bool("force-if-includes", false, "require remote updates to be integrated locally")
pushCmd.Flags().String("force-with-lease", "", "require old value of ref to be at this value")
pushCmd.Flags().BoolP("ipv4", "4", false, "use IPv4 addresses only")
pushCmd.Flags().BoolP("ipv6", "6", false, "use IPv6 addresses only")
pushCmd.Flags().Bool("mirror", false, "mirror all refs")
pushCmd.Flags().Bool("no-force-if-includes", false, "do not require remote updates to be integrated locally")
pushCmd.Flags().Bool("no-force-with-lease", false, "cancel all previous force-with-lease specifications")
pushCmd.Flags().Bool("no-signed", false, "do not GPG sign the push")
pushCmd.Flags().Bool("no-thin", false, "do not use thin pack")
pushCmd.Flags().Bool("no-verify", false, "bypass pre-push hook")
pushCmd.Flags().Bool("porcelain", false, "machine-readable output")
pushCmd.Flags().Bool("progress", false, "force progress reporting")
Expand Down

0 comments on commit b13bba4

Please sign in to comment.