소스 검색

templates/repo/empty.tmpl : fix repo setup instructions (#12122)

Co-authored-by: codeberg <codeberg@codeberg.org>
tags/v1.13.0-rc1
Andreas Shimokawa 3 년 전
부모
커밋
510e4bd245
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      templates/repo/empty.tmpl

+ 1
- 1
templates/repo/empty.tmpl 파일 보기

@@ -49,7 +49,7 @@
<div class="markdown">
<pre><code>touch README.md
git init
{{if ne .Repository.DefaultBranch "master"}}git branch -m master {{.Repository.DefaultBranch}}{{end}}
{{if ne .Repository.DefaultBranch "master"}}git checkout -b {{.Repository.DefaultBranch}}{{end}}
git add README.md
git commit -m "first commit"
git remote add origin <span class="clone-url">{{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}</span>

Loading…
취소
저장