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

Ah, yeah, that use of `git reset --soft` is how many places do squash merging, so that makes sense. You may want to make sure to include the `--soft` flag explicitly just as a precaution.

Also yeah, I would expect the fixup -c and -C flags to be more aligned with commit in a rebase.





git fixup doesn't take the old commit message either, so I would be not so surprised that it doesn't take the commit message. It is really for preparing to do rebase fixup to the older commit.



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

Search: