Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not that you asked, but `git rebase -i master` pops up $EDITOR with all the commits since `master`. You can reorder them, squash them, mark them as "fixup"s (squash + omit commit message), reword commit messages, etc etc.


Noting that you also didn't ask, but git-fiddle¹ is a nice addition that wraps rebase. You can directly edit commit metadata, such as date and message, from within the rebase template when using it.

[Just a happy user stealing an opportunity to pimp it.]

1. https://github.com/felixSchl/git-fiddle




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: