aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-08-02 12:25:26 +0200
committerGitHub <noreply@github.com>2022-08-02 18:25:26 +0800
commite43bb2b0b51e45e157df5d5cdcb4a63b2847e469 (patch)
treeb443f37f866fe06f0cadafa7ac4b240c73a78bdb /custom
parent8740631b79390299e0dc82469bcb85553a4a09f7 (diff)
downloadgitea-e43bb2b0b51e45e157df5d5cdcb4a63b2847e469.tar.gz
gitea-e43bb2b0b51e45e157df5d5cdcb4a63b2847e469.zip
Add info about Wire 2 when Git over SSH (#20619)
- Follow up of #20616. Add a note about this in the config cheat sheet, given there's no dedicated page for this.
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 367553f1fa..feff190f85 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -632,6 +632,7 @@ ROUTER = console
;GC_ARGS =
;;
;; If use git wire protocol version 2 when git version >= 2.18, default is true, set to false when you always want git wire protocol version 1
+;; To enable this for Git over SSH when using a OpenSSH server, add `AcceptEnv GIT_PROTOCOL` to your sshd_config file.
;ENABLE_AUTO_GIT_WIRE_PROTOCOL = true
;;
;; Respond to pushes to a non-default branch with a URL for creating a Pull Request (if the repository has them enabled)