💾 Archived View for thatit.be › 2022-12-15-19-05-12.gmi captured on 2023-06-16 at 16:28:52. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-06-14)

➡️ Next capture (2023-09-08)

-=-=-=-=-=-=-

finding orphaned commits in git

git fsck --lost-found

I didn’t set user name and email before a commit and I couldn’t remember that command for re-writing author information, so I used a git reset to undo the commit. I then realized I missed the revision I meant to hit. I could have done a lot of resets based on the reflog, but this was more clear in providing refids that I could diff until I found the set I meant to have.

Tags

#git

Navigation

index

tags

updated: 2022-12-15 19:08:26 -0500

generated: 2023-06-03