Buf(1)

πŸ“¦
version 1.75.0 Β· 3 versions
, in arch rolling

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to Buf(1) β€” the manual page for buf-push, aka Push to a registry. no cap, this is the one where you send your stuff up to a registry. πŸ’…


✨ SYNOPSIS ✨

buf push  [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

The first argument is the source to push, and it must be one of format [dir,git,protofile,tar,zip]. If you don’t give an argument at all, it defaults to "." β€” iconic, honestly. 🫢


πŸ’… OPTIONS πŸ’…

  • --create[=false] β€” Create the module if it does not exist. Defaults to creating a private module if --create-visibility is not set.
  • --create-default-label="" β€” The module’s default label setting, if created. If this is not set, then the module will be created with the default label "main".
  • --create-visibility="private" β€” The module’s visibility setting, if created. Can only be set with --create. Must be one of [public,private].
  • --disable-symlinks[=false] β€” Do not follow symlinks when reading sources or configuration from the local filesystem. By default, symlinks are followed in this CLI, but never followed on the Buf Schema Registry.
  • --error-format="text" β€” The format for build errors printed to stderr. Must be one of [text,json,msvs,junit,github-actions,gitlab-code-quality].
  • --exclude-unnamed[=false] β€” Only push named modules to the BSR. Named modules must not have any unnamed dependencies.
  • --git-metadata[=false] β€” Uses the Git source control state to set flag values. If this flag is set, we will use the following values for your flags:
    • --source-control-url to <git remote URL>/<repository name>/<route>/<checked out commit sha> (e.g. https://github.com/acme/weather/commit/ffac537e6cbbf934b08745a378932722df287a53).
    • --label for each Git tag and branch pointing to the currently checked out commit. You can set additional labels using --label with this flag.
    • --create-default-label to the Git default branch (e.g. main) - this is only in effect if --create is also set.
    • heads up, bestie: The source control URL and default branch is based on the required Git remote "origin". This flag is only compatible with checkouts of Git source repositories. If you set the --source-control-url flag and/or --create-default-label flag yourself, then the value(s) will be used instead and the information will not be derived from the Git source control state.
  • -h, --help[=false] β€” help for push.
  • --label=[] β€” Associate the label with the modules pushed. Can be used multiple times.
  • --source-control-url="" β€” The URL for viewing the source code of the pushed modules (e.g. the specific commit in source control).

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • --debug[=false] β€” Turn on debug logging (env BUF_DEBUG).
  • --log-format="color" β€” The log format text,color,json ⟨env BUF_LOG_FORMAT⟩.
  • --timeout=0s β€” The duration until timing out, setting it to 0 means no timeout (env BUF_TIMEOUT).

πŸ”₯ SEE ALSO πŸ”₯


πŸ‘‘ HISTORY πŸ‘‘

2026-10-22 β€” Auto generated by spf13/cobra.

mwah πŸ’‹ β€” this page was Auto generated by spf13/cobra, and the date on it is 2026-10-22. bye bestie! 🫢

πŸ“¦ where this page comes from