Remix.run Logo
Show HN: Git-knife – edit commit messages, authors, and dates like a spreadsheet(github.com)
26 points by YonathanTesfaye 38 minutes ago | 11 comments
iamcoder18 2 minutes ago | parent | next [-]

This is cool, but has anyone ever needed to rewrite commit authors or dates?

mellosouls 13 minutes ago | parent | prev | next [-]

Hmmm, this seems to be making easy something you normally should not do.

Carrok 5 minutes ago | parent | next [-]

So, exactly like a knife? Generally we don't want to cut people open, but when we need to do it, like during surgery, a sharp knife sure helps.

YonathanTesfaye 2 minutes ago | parent [-]

that's it

YonathanTesfaye 9 minutes ago | parent | prev [-]

Agreed mostly. The intent is local cleanup before you push like fixing a wrong author email across a batch or dates from a machine with a bad clock

sixtyj 19 minutes ago | parent | prev | next [-]

Extra points for the name.

YonathanTesfaye 13 minutes ago | parent [-]

Appreciate it! pick a commit, stab it

cautiouscat 30 minutes ago | parent | prev | next [-]

This looks cool! Are there screenshots available?

YonathanTesfaye 25 minutes ago | parent [-]

https://imgur.com/a/V5EGCOw

esafak 12 minutes ago | parent [-]

I'd put that in the repo not here.

YonathanTesfaye 34 minutes ago | parent | prev [-]

I built a small Tauri app that just shows your commits in a table and lets you edit message/author/date directly, plus find & replace with regex if you need to fix a bunch at once. It backs up the branch before it rewrites anything doesn't touch file contents, just metadata.