diff options
Diffstat (limited to 'templates/repo/empty.tmpl')
-rw-r--r-- | templates/repo/empty.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/empty.tmpl b/templates/repo/empty.tmpl index 99f662cd0b..24547758a7 100644 --- a/templates/repo/empty.tmpl +++ b/templates/repo/empty.tmpl @@ -37,7 +37,7 @@ git init {{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="js-clone-url"></span> +git remote add origin <span class="js-clone-url">{{$.CloneButtonOriginLink.HTTPS}}</span> git push -u origin {{.Repository.DefaultBranch}}</code></pre> </div> </div> @@ -46,7 +46,7 @@ git push -u origin {{.Repository.DefaultBranch}}</code></pre> <div class="item"> <h3>{{.locale.Tr "repo.push_exist_repo"}}</h3> <div class="markup"> - <pre><code>git remote add origin <span class="js-clone-url"></span> + <pre><code>git remote add origin <span class="js-clone-url">{{$.CloneButtonOriginLink.HTTPS}}</span> git push -u origin {{.Repository.DefaultBranch}}</code></pre> </div> </div> |