Skip to content
Snippets Groups Projects
Unverified Commit 59dd425f authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #10579 from gibfahn/default_remote_name_tap

fix(tap): set clone remote name to origin explicitly
parents c1bd17e1 0f48498a
No related branches found
No related tags found
No related merge requests found
......@@ -296,6 +296,10 @@ class Tap
$stderr.ohai "Tapping #{name}" unless quiet
args = %W[clone #{requested_remote} #{path}]
# Override possible user configs like:
# git config --global clone.defaultRemoteName notorigin
args << "--origin=origin"
args << "--depth=1" unless full_clone
args << "-q" if quiet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment