Merge branch '2411-rake-copyright'
[arvados.git] / apps / workbench / app / views / repositories / _show_help.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <% if (example = @objects.select(&:push_url).first) %>
6
7 <p>
8 Sample git quick start:
9 </p>
10
11 <pre>
12 git clone <%= example.push_url %> <%= example.name unless example.push_url.match(/:(\S+)\.git$/).andand[1] == example.name %>
13 cd <%= example.name %>
14 # edit files
15 git add the/files/you/changed
16 git commit
17 git push
18 </pre>
19
20 <% end %>
21
22 <p>
23   See also:
24   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; SSH access'),
25   "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
26       target: "_blank"%> and 
27   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; Writing a Crunch
28   Script'),
29   "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html",
30   target: "_blank"%>.
31 </p>