From b702f2dac3f1b5182a74251c82d167b544f71849 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Tue, 29 Mar 2022 11:04:29 +0800 Subject: [PATCH] Fix clone url JS error for the empty repo page (#19209) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath --- templates/repo/empty.tmpl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/templates/repo/empty.tmpl b/templates/repo/empty.tmpl index 6da9e28e1..0a354b411 100644 --- a/templates/repo/empty.tmpl +++ b/templates/repo/empty.tmpl @@ -50,14 +50,17 @@ git push -u origin {{.Repository.DefaultBranch}} git push -u origin {{.Repository.DefaultBranch}} - {{end}} {{else}}