News for hackers. Stuff that matters.
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by kazinator on Wednesday March 29, 2017 @02:27AM (#13983900)
The author of this is not making use of

  git commit --squash <sha>
  git commit --fixup <sha>
  git rebase -i --autosquash ...
Autosquash puts things in the right order.

Of course, you have to pick the target commit at the fixup commit time. But that is less error-prone then later trying to remember what such and such commit was intended to combine with.

Re:Show HN: Rebase-editor, a simple CLI app specifically for... by sjurba on Wednesday March 29, 2017 @04:23AM (#13984333)
Well, autosquash is great, and you are right that I don't really make use of it much, but I will now that I'm aware of how nice it is.

That being said, my tool will work nicely with autosquash. All 'fixup!' commits will be reordered and prefixed with fixup just like with the default editor. So you might say that you don't need my tool since autosquash is all you need, but I often use it to do manual reordering, editing and rewording. And in those cases I find it very useful.

Re:Show HN: Rebase-editor, a simple CLI app specifically for... by ollysb on Wednesday March 29, 2017 @03:48AM (#13984204)
Saw this just last week

    $ git config --global rebase.autosquash true
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by kazinator on Wednesday March 29, 2017 @11:59AM (#13987525)
How long has that been a feature, darn!