[Notice] Announcing the End of Demo Server [Read me]

code: Removed unnecessary indentation
@a80243d52004c1fd387cb66c2d885e01393c7036
--- app/views/code/nohead.scala.html
+++ app/views/code/nohead.scala.html
... | ... | @@ -46,26 +46,26 @@ |
46 | 46 |
@if(isAllowed(UserApp.currentUser(), project.asResource(), Operation.UPDATE)) { |
47 | 47 |
<h5>@Messages("code.nohead.clone", utils.Config.getSiteName)</h5> |
48 | 48 |
<pre><code>git clone @getCodeURL(project) |
49 |
- cd @project.name/ |
|
50 |
- echo "# @project.name" > README.md |
|
51 |
- git add README.md |
|
52 |
- git commit -m "Hello @utils.Config.getSiteName" |
|
53 |
- git push origin master</code></pre> |
|
49 |
+cd @project.name/ |
|
50 |
+echo "# @project.name" > README.md |
|
51 |
+git add README.md |
|
52 |
+git commit -m "Hello @utils.Config.getSiteName" |
|
53 |
+git push origin master</code></pre> |
|
54 | 54 |
<h5>@Messages("code.nohead.init", utils.Config.getSiteName)</h5> |
55 | 55 |
<pre><code>mkdir @project.name |
56 |
- cd @project.name/ |
|
57 |
- echo "# @project.name" > README.md |
|
58 |
- git init |
|
59 |
- git add README.md |
|
60 |
- git commit -m "Hello @utils.Config.getSiteName" |
|
61 |
- git remote add origin @getCodeURL(project) |
|
62 |
- git push origin master</code></pre> |
|
56 |
+cd @project.name/ |
|
57 |
+echo "# @project.name" > README.md |
|
58 |
+git init |
|
59 |
+git add README.md |
|
60 |
+git commit -m "Hello @utils.Config.getSiteName" |
|
61 |
+git remote add origin @getCodeURL(project) |
|
62 |
+git push origin master</code></pre> |
|
63 | 63 |
<h5>@Messages("code.nohead.remote", utils.Config.getSiteName)</h5> |
64 | 64 |
<pre><code>git remote add origin @getCodeURL(project) |
65 |
- git push origin master</code></pre> |
|
65 |
+git push origin master</code></pre> |
|
66 | 66 |
<h5>@Messages("code.nohead.pull.push")</h5> |
67 | 67 |
<pre><code>git pull origin master |
68 |
- git push origin master</code></pre> |
|
68 |
+git push origin master</code></pre> |
|
69 | 69 |
} |
70 | 70 |
</div> |
71 | 71 |
</div> |
--- app/views/code/nohead_svn.scala.html
+++ app/views/code/nohead_svn.scala.html
... | ... | @@ -33,10 +33,10 @@ |
33 | 33 |
@if(isAllowed(UserApp.currentUser(), project.asResource(), Operation.UPDATE)) { |
34 | 34 |
<h5>@Messages("code.nohead.svn.clone", utils.Config.getSiteName)</h5> |
35 | 35 |
<pre><code>svn co @CodeApp.getURL(project) --username @UserApp.currentUser().loginId |
36 |
- cd @project.name/ |
|
37 |
- echo "# @project.name" > README.md |
|
38 |
- svn add README.md |
|
39 |
- svn commit -m "first commit"</code></pre> |
|
36 |
+cd @project.name/ |
|
37 |
+echo "# @project.name" > README.md |
|
38 |
+svn add README.md |
|
39 |
+svn commit -m "first commit"</code></pre> |
|
40 | 40 |
} |
41 | 41 |
</div> |
42 | 42 |
</div> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?