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

View Raw

More Information

⬅️ Previous capture (2023-04-26)

➡️ Next capture (2023-09-08)

🚧 View Differences

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

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