1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-17 12:12:46 -05:00
forgejo/docs/content/doc/usage/push-options.en-us.md
silverwind ae52df6a64
Add markdownlint (#20512)
Add `markdownlint` linter and fix issues. Config is based on the one
from electron's repo with a few rules relaxed.
2022-07-28 09:22:47 +08:00

744 B

date title slug weight toc draft menu
2020-07-06T16:00:00+02:00 Usage: Push Options push-options 15 false false
sidebar
parent name weight identifier
usage Push Options 15 push-options

Push Options

In Gitea 1.13, support for some push options were added.

Supported Options

  • repo.private (true|false) - Change the repository's visibility.

    This is particularly useful when combined with push-to-create.

  • repo.template (true|false) - Change whether the repository is a template.

Example of changing a repository's visibility to public:

git push -o repo.private=false -u origin master