Hacker News new | ask | show | jobs
by gxespino 1552 days ago
I like to

  git commit --amend --no-edit
often

once a piece of functionality is working, edit the commit so it makes sense

start new commit and work on next piece of functionality, repeat

clean commit history not just for me but for my coworkers who will benefit from seeing a cohesive commit diff

1 comments

I imagine many like me use it so often they have this as the alias “git oops”.