• tatterdemalion
    link
    fedilink
    arrow-up
    2
    ·
    9 hours ago

    can be nicer

    Understatement. It solves almost every problem I’ve ever had with git.

    1. No more destructive commands. jj undo or jj op restore can always put you back into a good state.
    2. Merge conflicts can be ignored until you want to resolve them.
    3. No “unstaged files” to deal with. Just keep your .gitignores up to date and jj automatically tracks new files.
    4. Rebasing and patch management is just incredibly simple.
    5. It actually has a nice default view of the commit graph.

    I used to use StackedGit for a while before switching to Jujutusu. While stg is nice, I think jj is a huge improvement.

    • StrikeForceZero
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      Aside from the obvious cases like pruning or garbage collection that remove orphaned or dangling commits, is there anything else destructive that git reflog can’t help recover from?

      • tatterdemalion
        link
        fedilink
        arrow-up
        1
        ·
        30 minutes ago

        I probably can’t give a good technical comparison of the power of git reflog vs jj op log, but I find jj op log much easier to use.