Skip to content
Snippets Groups Projects
Commit f40650ec authored by Jack Nagel's avatar Jack Nagel
Browse files

Set the remote config manually

See 5cd6b35 and 8eefd4e.
parent 15162911
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,8 @@ module Homebrew
if Dir[".git/*"].empty?
safe_system "git", "init"
safe_system "git", "config", "core.autocrlf", "false"
safe_system "git", "remote", "add", "origin", "https://github.com/Homebrew/homebrew.git"
safe_system "git", "config", "remote.origin.url", "https://github.com/Homebrew/homebrew.git"
safe_system "git", "config", "remote.origin.fetch", "+refs/heads/*:refs/remotes/origin/*"
safe_system "git", "fetch", "origin"
safe_system "git", "reset", "--hard", "origin/master"
end
......
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