From 4335ff2e93b5c52ba07290062e45e1b3364914c4 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 11:54:03 +0800 Subject: [PATCH] repo/index: Don't show HTTP clone URL as it's the same as the Web URL --- templates/repo_index.tmpl | 7 ++----- diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index cc0d61ad145058c2aa3633afc591ac8a16e84f9c..1de48d1e1cf1fdda92b32ce81eac0da7e3e3f68c 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -26,11 +26,8 @@ {{ .repo_description }} {{ end }} - Clone - git clone {{ .ssh_clone_url }} - - - git clone {{ .http_clone_url }} + SSH remote + {{ .ssh_clone_url }} -- 2.48.1