mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
git clone is broken #278
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bernstei on GitHub.
Summary
A fresh git clone fails
Steps to reproduce
run
git clone https://github.com/usnistgov/macos_security.gitOperating System version
OS X Big Sur 11.5.1
What is the current bug behavior?
An error message at the end of the clone about failed checkout
What is the expected correct behavior?
working clone/checkout
Relevant logs and/or screenshots
Output of checks
N/A
Possible fixes
unknown
@bernstei commented on GitHub:
I'm having all sorts of strange issues, so maybe it's just my filesystem. FWIW, when I did try to follow that suggestion I got a very similar error. I'll close this soon if I decided that it really is just my filesystem.
@golbiga commented on GitHub:
@bernstei unfortunately we cannot replicate this issue. What happened when you followed this:
You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'From what I can tell the
pack-4d226641dcff7c718a12db0e50551c0557cd0d85.packis corrupted, you can try removing it and doing agit fetch&git fsck@bernstei commented on GitHub:
OK, I had no idea it could lead to these sorts of git errors, but it appears to be a local filesystem issue. Sorry for the false alarm.