We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae56411 commit 510e4bdCopy full SHA for 510e4bd
templates/repo/empty.tmpl
@@ -49,7 +49,7 @@
49
<div class="markdown">
50
<pre><code>touch README.md
51
git init
52
-{{if ne .Repository.DefaultBranch "master"}}git branch -m master {{.Repository.DefaultBranch}}{{end}}
+{{if ne .Repository.DefaultBranch "master"}}git checkout -b {{.Repository.DefaultBranch}}{{end}}
53
git add README.md
54
git commit -m "first commit"
55
git remote add origin <span class="clone-url">{{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}</span>
0 commit comments