File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
SSH
10
10
</button>
11
11
{{end}}
12
- <input id="repo-clone-url" class="js-clone-url" value="" size="1" readonly>
12
+ <input id="repo-clone-url" class="js-clone-url" value="{{$.CloneButtonOriginLink.HTTPS}} " size="1" readonly>
13
13
<button class="ui basic icon button tooltip" id="clipboard-btn" data-content="{{.locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url" aria-label="{{.locale.Tr "copy_url"}}">
14
14
{{svg "octicon-paste"}}
15
15
</button>
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ git init
37
37
{{if ne .Repository.DefaultBranch "master"}}git checkout -b {{.Repository.DefaultBranch}}{{end}}
38
38
git add README.md
39
39
git commit -m "first commit"
40
- git remote add origin <span class="js-clone-url"></span>
40
+ git remote add origin <span class="js-clone-url">{{$.CloneButtonOriginLink.HTTPS}} </span>
41
41
git push -u origin {{.Repository.DefaultBranch}}</code></pre>
42
42
</div>
43
43
</div>
@@ -46,7 +46,7 @@ git push -u origin {{.Repository.DefaultBranch}}</code></pre>
46
46
<div class="item">
47
47
<h3>{{.locale.Tr "repo.push_exist_repo"}}</h3>
48
48
<div class="markup">
49
- <pre><code>git remote add origin <span class="js-clone-url"></span>
49
+ <pre><code>git remote add origin <span class="js-clone-url">{{$.CloneButtonOriginLink.HTTPS}} </span>
50
50
git push -u origin {{.Repository.DefaultBranch}}</code></pre>
51
51
</div>
52
52
</div>
You can’t perform that action at this time.
0 commit comments