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

You can combine this with the `:/<text>` syntax [0] for matching the most recent commit with a given text in the commit message, e.g.

    $ commit frobinator/ -m "refactor the frobnicator"

    [ more work ]

    $ commit echaton/ -m "immanentize the eschaton"

    [ oops, missed a typo ]

    $ commit frobinator/ --fixup :/frobic
0: https://stackoverflow.com/a/52039150


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

Search: