Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i cant run any more commands after error occur #12899

Closed
2 tasks
credits-16 opened this issue Feb 19, 2022 · 1 comment
Closed
2 tasks

i cant run any more commands after error occur #12899

credits-16 opened this issue Feb 19, 2022 · 1 comment
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age

Comments

@credits-16
Copy link

credits-16 commented Feb 19, 2022

brew config output

Updating files: 100% (2741/2741), done.
HEAD is now at 374adf7f1 Merge pull request #12868 from SMillerDev/chore/doc/add_service_block
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

brew doctor output

nothing

Verification

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

i tried to install homebrew for mtr and my terminal said it had an error so I typed $ brew doctor and % brew doctor and there was nothing I tried other command like $ brew config and it does nothing

What happened (include all command output)?

Updating files: 100% (2741/2741), done.
HEAD is now at 374adf7 Merge pull request #12868 from SMillerDev/chore/doc/add_service_block
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'

What did you expect to happen?

installing homebrew

Step-by-step reproduction instructions (by running brew commands)

i inputted /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@credits-16 credits-16 added the bug Reproducible Homebrew/brew bug label Feb 19, 2022
@carlocab
Copy link
Member

This isn't a bug in brew itself, and is an issue with the installer. Please see related discussions at the discussions page.

@github-actions github-actions bot added the outdated PR was locked due to age label Mar 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants