Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by nopurpose

2 days ago

You might find `jj` to help you there: all changesets have stable identifier and their content can be updated at any moment in-place.

TLDR; `jj edit <what_to_edit>; $EDITOR` will update a commit in the middle of the branch

2 comments

nopurpose

Reply

fleventynine  1 day ago

Not an option for me until it supports submodules.

  • nopurpose  1 day ago

    Prior to `jj` my happiest git discovery was https://github.com/ingydotnet/git-subrepo to replace submodules.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities