• tinkeringidiot@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    4
    ·
    10 months ago

    Nobody knows git. We all just run the few basic commands, then again with the -f switch just in case. Then if that doesn’t work, reclone.

  • Kissaki@feddit.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 months ago

    Regarding visual client: I’ve been using TortoiseGit since early on and no other client I’ve tried came close.

    I use the log view and have an overview, and an entry point to all common operations I need. Other tools often fail on good overview, blaming through earlier revisions, filterable views of commits or files, or interactive rebase.

  • technojamin@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    This was a really good talk! I’ve been using git for about a decade, but I learned several new things. Here’s a few:

    • Sorting git log by committer date
    • Speeding up common operations on bigger repos with git maintenance
    • More useful file blame with the -C flag on git blame
    • Lodra@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      I started using git meaningfully about 10 years ago. Mercurial maybe 6 years ago but not very much. And I was not a fan. Especially how it tracks things recursively.

      So honest question. Why?

      • ono@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        10 months ago

        Mercurial has comparable features (though maybe not obvious to someone accustomed to git) without the usability problems that still plague git nearly two decades later. Hg’s interface was made with humans in mind. Git’s was made to cut you.

        (And it has cut so very many people that it’s consistently among the most popular topics in Q&A forums, and has even inspired comics.)

        Thankfully, git’s early cross-platform shortcomings were eventually fixed, so that’s at least some progress. I hope its UI and docs eventually get some love, too.