Post Aat1eGP5dKS7tPTZWi by resuna@ohai.social
 (DIR) More posts by resuna@ohai.social
 (DIR) Post #AasJzEM82urzdjHKQy by mjg59@nondeterministic.computer
       2023-10-17T22:35:20Z
       
       0 likes, 0 repeats
       
       It's the kind of day where "git gc" appears to have fucked my repo
       
 (DIR) Post #AasKAYqCDw2MMGkFlI by mjg59@nondeterministic.computer
       2023-10-17T22:35:48Z
       
       0 likes, 0 repeats
       
       $ git reflogfatal: bad object HEADOh no
       
 (DIR) Post #AasKKZFpXcw2XJVTnM by cloudthethings@hachyderm.io
       2023-10-17T22:38:19Z
       
       0 likes, 0 repeats
       
       @mjg59 honestly, "bad object HEAD” is how I feel a lot of the time when working with git.
       
 (DIR) Post #AasKLw30HaBFW99w6S by ian@mckellar.social
       2023-10-17T22:40:46Z
       
       0 likes, 0 repeats
       
       @mjg59 Just reading this gives me a visceral sense of helplessness.
       
 (DIR) Post #AasKdBVg2xIWOdnQi8 by notting@mas.to
       2023-10-17T22:40:46Z
       
       0 likes, 0 repeats
       
       @mjg59 it collected the garbage, and determined that all the garbage was in your HEAD?
       
 (DIR) Post #AasKmIShZJdAZ1kX0y by troglobit@fosstodon.org
       2023-10-17T22:40:53Z
       
       0 likes, 0 repeats
       
       @mjg59 what did you do, Matthew? 😳
       
 (DIR) Post #AasKvdiJvL9j58VgFE by fwaggle@moodoo.org
       2023-10-17T22:41:45Z
       
       0 likes, 0 repeats
       
       @mjg59 Git, 20 seconds earlier: https://imgur.io/C5ybHM2Edit: Didn't work out how I wanted it but whatever
       
 (DIR) Post #AasMcqOKlS1Mo6KKDA by BenAveling@infosec.exchange
       2023-10-17T23:04:06Z
       
       0 likes, 0 repeats
       
       @mjg59 gc: hey, there’s something wrong here. I know! I’ll make it so much worse!It’s at roughly this point I start looking for another copy of the repo.
       
 (DIR) Post #AasQzR4vRY60mFHDgu by benmontour@infosec.exchange
       2023-10-17T23:53:24Z
       
       0 likes, 0 repeats
       
       @mjg59 my brain can’t read reflog and not read it as re-flog.
       
 (DIR) Post #AasVCg13cHyYgd2Krw by markhepburn@fosstodon.org
       2023-10-18T00:41:04Z
       
       0 likes, 0 repeats
       
       @mjg59 "A story in 6 words that will make you cry"
       
 (DIR) Post #AascF4ELG6nu2nKytE by acyberexpert@freeradical.zone
       2023-10-18T01:59:22Z
       
       0 likes, 0 repeats
       
       @mjg59 It hasn’t ruined your repo. It has revealed the inconsistent state of the file system underneath your git repo.
       
 (DIR) Post #Aat1eGP5dKS7tPTZWi by resuna@ohai.social
       2023-10-18T06:44:11Z
       
       0 likes, 0 repeats
       
       @mjg59 This is where I delete and re-clone the whole repo. I used to have an alias that I shall call "git-duck" for this.
       
 (DIR) Post #AatHPsT3QeDIrvUalE by alexanderdyas@mindly.social
       2023-10-18T09:41:09Z
       
       0 likes, 0 repeats
       
       @mjg59 I know exactly what you mean mate. <hugs git>
       
 (DIR) Post #AawY5RtgmxJDMifv6m by NTICompass@bitbang.social
       2023-10-19T23:31:41Z
       
       0 likes, 0 repeats
       
       @mjg59 Is that "ref log" or "re-flog"?