I used CVS and ClearCase before moving into Git, and it took me some time to adjust to the fact that the cost of branching in Git is much much less than ClearCase. And getting into the “distributed” mindset didn’t happen overnight.

  • namingthingsiseasy
    link
    fedilink
    arrow-up
    10
    ·
    6 months ago

    Git’s internals are very easy to understand and once you know more about them, you’ll have a much better idea of how it works (especially when it comes to tags and branches). They’re so simple, you could even easily write your own scripts to parse git’s internal data directory if you wanted to.

    I would highly recommend reading about them: https://git-scm.com/book/en/v2/Git-Internals-Git-Objects#

    • FizzyOrange
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      They’re not that simple because of packfiles. But yeah loose files are very simple. Also the documentation for packfiles is pretty bad. You end up reading other people’s random notes and the Git source code. (I actually have written a Git client from scratch.)