commit 900f6c594f51f205ae6ff48b443e9520f8fea29a from: Stefan Sperling date: Wed May 14 11:19:18 2025 UTC sync manual pages commit - b5a9c48e45a3b875063c98d667eabb4e243a8b75 commit + 900f6c594f51f205ae6ff48b443e9520f8fea29a blob - 50e0dd82cd72677cbe351f1088f2643126122517 blob + e66740ed421065807cb4a8329b19992dea7256b3 --- git-repository.5.html +++ git-repository.5.html @@ -215,7 +215,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 6c71739282b60bc0b3631fb7915dd626687cc8aa blob + 13134ba8b091725ad06be28d047a477d1d5c489e --- gitwrapper.1.html +++ gitwrapper.1.html @@ -142,7 +142,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 5d88a220f172d44fef4448d9543af7dd2a350305 blob + 1b4b1da9a75b613e8654739959a0be524ab1ec6b --- got-worktree.5.html +++ got-worktree.5.html @@ -187,7 +187,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 1c061b37bfb88a39b9173edc19c735aa4956aa39 blob + 2e78c20f19cbeb90e01810aa720882e6f65d22f3 --- got.1.html +++ got.1.html @@ -3659,7 +3659,7 @@ remote "origin" {
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 01c141e915d81b3a3e3458ade3476712a2c38640 blob + a1ad851a9f25022a25954b66bce56222709995c5 --- got.conf.5.html +++ got.conf.5.html @@ -325,7 +325,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - d6ac463f48a47207fff2a634ffa76745e56f8436 blob + 299d17c19be52c4f25eae29240ed670141f96458 --- gotadmin.1.html +++ gotadmin.1.html @@ -439,7 +439,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - a08e8d85eb04e13db66c17007696b09401b8d0fe blob + 21e782fe6e4a43b139176c28e1027efa0bc3a4e4 --- gotctl.8.html +++ gotctl.8.html @@ -113,7 +113,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 2a2e66577c192eef4968869e22d20f85a9973d0d blob + 473e2aa66dc70dd2d6f581c7204e10b2d657033e --- gotd-secrets.conf.5.html +++ gotd-secrets.conf.5.html @@ -112,7 +112,7 @@ repository "openbsd/src" {
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - bd5a32dbb3a7047484c8b303c04317edcb257fc3 blob + bf8e2f3acf792c40430227ba93516307b78beb62 --- gotd.8.html +++ gotd.8.html @@ -150,7 +150,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 145badb241270ccf4b3191b112de41fe47135988 blob + 21b29c79c59c10c2ac1087dc5010561b9e78eddd --- gotd.conf.5.html +++ gotd.conf.5.html @@ -499,7 +499,7 @@ connection {
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - fe77c71b732a2dc08f3d4f12861823feec144e46 blob + 3e1198cd4cfcd5f04c75c8f3a67f3df48c22e0c9 --- gotsh.1.html +++ gotsh.1.html @@ -157,7 +157,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - ae9d8dd4e23144df7c27cff91656b1d53b6aa07f blob + 59f57dff5aaa04c4e1f43cd5b0e461a15b1b0a00 --- gotsys.1.html +++ gotsys.1.html @@ -168,7 +168,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 1533d4ae7d0064b07c5ebef2554084c377d4c227 blob + 6e8dc12be763fd59d1800e423876e640d296c40a --- gotsys.conf.5.html +++ gotsys.conf.5.html @@ -212,6 +212,53 @@ password, cannot use an SSH public key, and can only be granted read-only access.

+
+ {...}
+
The protect directive may be used to protect + branches and tags in a repository from being overwritten by potentially + destructive client-side commands, such as when got send + -f and git push -f are used to change the + history of a branch. +

To build a set of protected branches and tags, multiple + protect directives may be specified per + repository and multiple protect directive + parameters may be specified within curly braces.

+

The available protect parameters are + as follows:

+
+
+ name
+
Protect the named branch. The branch may be created if it does not + exist yet. Attempts to delete the branch or change its history will be + denied. +

If the name does not already begin + with “refs/heads/” it will be looked up in the + “refs/heads/” reference namespace.

+
+
+ namespace namespace
+
Protect the given reference namespace, assuming that references in + this namespace represent branches. New branches may be created in the + namespace. Attempts to change the history of branches or delete them + will be denied. +

The namespace argument must be + absolute, starting with “refs/”.

+
+
+ namespace namespace
+
Protect the given reference namespace, assuming that references in + this namespace represent tags. New tags may be created in the + namespace. Attempts to change or delete existing tags will be denied. +

The namespace argument must be + absolute, starting with “refs/”.

+
+
+

The special reference namespaces “refs/got/” and + “refs/remotes/” do not need to be listed in + gotsys.conf. These namespaces are always + protected and even attempts to create new references in these namespaces + will always be denied.

+
@@ -265,7 +312,7 @@ repository "secret" {
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - c9a90f7e25f17dd40dfeaae3616a67d26209819c blob + db6c33ac30c43ae56891d598bc68c5c3749a3a91 --- gotsysctl.8.html +++ gotsysctl.8.html @@ -93,7 +93,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 58d5196966920f2cf37b9acc646db59272109f54 blob + b4f636efa5825cb6821d105554d7105cd5aec740 --- gotsysd.8.html +++ gotsysd.8.html @@ -136,7 +136,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 715d674fb1a703eca7c924e6ff8a2556d92f597e blob + 88bc0490a7f7903f479b6baac89135a2acd618cf --- gotsysd.conf.5.html +++ gotsysd.conf.5.html @@ -133,7 +133,7 @@ uid range 5000 5999
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 94fd997f9780754d96106acf354e7baedf2f3ab8 blob + 667543c5441dc17fb3ee26f184d700ba149ed1de --- gotwebd.8.html +++ gotwebd.8.html @@ -190,7 +190,7 @@ server "example.com" {
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 629185abf19409d7972d8b30d28f1c4b537c9410 blob + e30831157132b853fb7917b093f3075444214d98 --- gotwebd.conf.5.html +++ gotwebd.conf.5.html @@ -265,7 +265,7 @@ server "localhost" {
April 22, + line">May 14, 2025 OpenBSD 7.7
blob - 88f654eeb0ae03cf19858cba35814e0f8e8a83ba blob + a26b38891137a3d5b3583e62589e9b4a3804f042 --- tog.1.html +++ tog.1.html @@ -887,7 +887,7 @@
April 22, + line">May 14, 2025 OpenBSD 7.7