aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorEhsan Shirvanian <72626662+eshirvana@users.noreply.github.com>2024-10-09 01:04:34 -0400
committerGitHub <noreply@github.com>2024-10-09 13:04:34 +0800
commit8bee7fcf7e214ace5e4835556bfb0f96ae3d20fb (patch)
treea6fce7b035de7af93f00b7b105414f62226dff3e /templates
parentf9a9b08896fe6fa88331fd58a1767e3981a79a8d (diff)
downloadgitea-8bee7fcf7e214ace5e4835556bfb0f96ae3d20fb.tar.gz
gitea-8bee7fcf7e214ace5e4835556bfb0f96ae3d20fb.zip
update git book link to v2 (#32221)
Fix the dead link `https://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository` for empty repositories to help how to clone the repository to `https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository` which is v2 of the git book. This also updates download git links
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/empty.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/empty.tmpl b/templates/repo/empty.tmpl
index cb2a5ba1e9..7613643351 100644
--- a/templates/repo/empty.tmpl
+++ b/templates/repo/empty.tmpl
@@ -24,7 +24,7 @@
</h4>
<div class="ui attached guide table segment empty-repo-guide">
<div class="item">
- <h3>{{ctx.Locale.Tr "repo.clone_this_repo"}} <small>{{ctx.Locale.Tr "repo.clone_helper" "http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository"}}</small></h3>
+ <h3>{{ctx.Locale.Tr "repo.clone_this_repo"}} <small>{{ctx.Locale.Tr "repo.clone_helper" "http://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository"}}</small></h3>
<div class="repo-button-row">
{{if and .CanWriteCode (not .Repository.IsArchived)}}