Skip to content
Snippets Groups Projects

Add the username of the current user to the HTTP(S) clone URL

Merged Jan Christophersen requested to merge (removed):1937-https-clone-url-username into master
All threads resolved!
Files
4
@@ -239,6 +239,7 @@ def personalised_http_url_to_repo(user = nil, project = @project)
url.insert(insert_pos, "#{user.username}@")
end
module_function :personalised_http_url_to_repo
def default_url_to_repo(project = @project)
case default_clone_protocol
Loading