lemonlearnings 5 hours ago

Claude, look at this git history, analyse diffs and create an intelligent commit message to replace each commit message. Do a rebase to fix it all up.

  • kristopolous 5 hours ago

    Would you actually do that? It's information destruction. You can machine generate at any time, but you can only delete the human input once

    • lemonlearnings 9 minutes ago

      ? I assume you want to replace your jubberish messages with something more useful before pushing? It is only "destroying" https://xkcd.com/1296/ style crap? Code changes stay the same.

    • lloeki 4 hours ago

      > you can only delete the human input once

          git branch "backup/$(git branch --show-current)/$(date +%s)"
          # do whatever you fancy
          git reset --hard "backup/$(git branch --show-current)/${thattimestampabove}"
      
      You can't lose anything as long as you have a pointer to it (which doubles as making it easy to find)
      • globular-toast 4 hours ago

        No need to make a "backup" branch. Learn to trust the reflog.

    • trenchpilgrim 5 hours ago

      My human inputs are usually commit messages like "awdjhwahdwadga" until I do the rebase at the end