You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect to be able to define main at least in the custom strategy:
equire "download_strategy"
class NoSubmoduleGitDownloadStrategy < GitDownloadStrategy
def stage
# Set environment configuration to force detached head advice
system "git", "config", "advice.detachedHead", "true"
# Ensure submodules are not initialized or updated
system "git", "config", "--local", "submodule.recurse", "false"
# Fetch the main branch explicitly
system "git", "config", "--replace-all", "remote.origin.fetch", "+refs/heads/main:refs/remotes/origin/main"
system "git", "fetch", "origin", "main"
system "git", "checkout", "main"
super
end
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
trying to clone a repo with refs/heads/main instead of refs/heads/master
What happened (include all command output)?
What did you expect to happen?
I expect to be able to define main at least in the custom strategy:
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: