summaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorrune <runner.mei@gmail.com>2023-05-12 17:44:37 +0800
committerGitHub <noreply@github.com>2023-05-12 09:44:37 +0000
commit4b808133414e39348f56d691883426947bf2d322 (patch)
treece7dc40af8630e9e9db07f500dd56e032cdc00ba /custom/conf
parent49808136c5af5946851c5486d4630482d79eff8b (diff)
downloadgitea-4b808133414e39348f56d691883426947bf2d322.tar.gz
gitea-4b808133414e39348f56d691883426947bf2d322.zip
Support SSH for go get (#24664)
fix #12192 Support SSH for go get --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io> Co-authored-by: mfk <mfk@hengwei.com.cn> Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.example.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 3ceb53dcd0..e279b67ded 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -940,6 +940,9 @@ ROUTER = console
;; Force ssh:// clone url instead of scp-style uri when default SSH port is used
;USE_COMPAT_SSH_URI = false
;;
+;; Value for the "go get" request returns the repository url as https or ssh, default is https
+;GO_GET_CLONE_URL_PROTOCOL = https
+;;
;; Close issues as long as a commit on any branch marks it as fixed
;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions.
;DISABLED_REPO_UNITS =