Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Bug] fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree

Open attica1284 opened this issue 2 months ago • 2 comments

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?

attica1284 avatar Oct 06 '25 09:10 attica1284

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>

z-Fng avatar Oct 09 '25 13:10 z-Fng

works fine for me, thanks a lot

attica1284 avatar Oct 12 '25 16:10 attica1284