• boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    8
    ·
    7 months ago

    The only stuff I need, that should be easier

    • commit all changes
    • commit to other branch
    • squash all commits to one
    • configure a ssh key per user (especially when using different accounts, different username etc)
    • catloaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 months ago

      Commit -a isn’t easy?

      Squashing is easy too, though no, there isn’t a “squash all” option, unless you’re working in a feature branch and check out master and git merge --squash branch: https://graphite.dev/guides/git-merge-squash

      I’m sure there’s a way to commit to another branch without having it checked out, but that just sounds like a recipe for trouble.

      And I have no idea how you’d manage to not have different ssh keys per user. You shouldn’t be reusing keys across accounts to begin with.