You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

push-options.en-us.md 744B

12345678910111213141516171819202122232425262728293031
  1. ---
  2. date: "2020-07-06T16:00:00+02:00"
  3. title: "Usage: Push Options"
  4. slug: "push-options"
  5. weight: 15
  6. toc: false
  7. draft: false
  8. menu:
  9. sidebar:
  10. parent: "usage"
  11. name: "Push Options"
  12. weight: 15
  13. identifier: "push-options"
  14. ---
  15. # Push Options
  16. In Gitea `1.13`, support for some [push options](https://git-scm.com/docs/git-push#Documentation/git-push.txt--oltoptiongt)
  17. were added.
  18. ## Supported Options
  19. - `repo.private` (true|false) - Change the repository's visibility.
  20. This is particularly useful when combined with push-to-create.
  21. - `repo.template` (true|false) - Change whether the repository is a template.
  22. Example of changing a repository's visibility to public:
  23. ```shell
  24. git push -o repo.private=false -u origin master
  25. ```