💾 Archived View for thatit.be › 2022-12-15-19-05-12.gmi captured on 2024-02-05 at 09:50:17. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-03-21)

🚧 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

generated: 2024-02-03