[Bug] fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree
Hey there, since a few months I got some weird error message, when I type "scoop update"
Error Message:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git
[ ...] -- [ ...]' fatal: bad object refs/remotes/origin/master error: https://github.com/Calinou/scoop-games did not send all necessary objects fatal: bad object refs/heads/master error: https://github.com/ScoopInstaller/Nonportable did not send all necessary objects fatal: ambiguous argument 'HEAD..HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [ ...] -- [ ...]'
I can't find a fix for that, and I swear I had nothing changed in the scoop directory or anything.
Could smby help me?
This might be helpful:
“#6378 FAQ: Failed to update Scoop Core or Buckets caused by damaged/conflicted git repo”
scoop bucket rm <bucket>
scoop bucket add <bucket>
# For 3rd-party buckets:
scoop bucket add <bucket> <URI>
works fine for me, thanks a lot