%# Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: AGPL-3.0 %> <% filters = @filters + [["owner_uuid", "=", current_user.uuid]] example = Repository.all.order("name ASC").filter(filters).limit(1).results.first example = Repository.all.order("name ASC").limit(1).results.first if !example %> <% if example %>
Sample git quick start:
git clone <%= example.push_url %> <%= example.name unless example.push_url.match(/:(\S+)\.git$/).andand[1] == example.name %> cd <%= example.name %> # edit files git add the/files/you/changed git commit git push<% end %>
See also: <%= link_to raw('Arvados Docs → User Guide → SSH access'), "#{Rails.configuration.Workbench.ArvadosDocsite}/user/getting_started/ssh-access-unix.html", target: "_blank"%> and <%= link_to raw('Arvados Docs → User Guide → Writing a Crunch Script'), "#{Rails.configuration.Workbench.ArvadosDocsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%>.