• rhabarba
    link
    fedilink
    -9
    edit-2
    12 days ago

    Why use Git at all then? I thought the one reason why everyone wants to use Git these days are the forges.

    • Did you read the article? The author shares their perspective.

      For me, Git is quite powerful on its own with version control, diffs, branches, merging, etc. Forges just add a UI for some of these things, and add an issue tracker/ discussion/etc. Forges also add a more modem ui for repo access though git does have its own webserver you can use. I use git without a forge for a number of my personal projects that I’m not sharing with others or not yet sharing

      • rhabarba
        link
        fedilink
        -212 days ago

        Git is quite powerful on its own with version control, diffs, branches, merging, etc.

        All version control systems do that, hence my question.

        Git was conceived as a bazaar (because of its use for the Linux kernel), but most projects are more like cathedrals. In my opinion, Git is simply over-engineered for most projects. For projects that you don’t want to share with others, even CVS would probably suffice…

          • rhabarba
            link
            fedilink
            312 days ago

            Mercurial is decentralised, there is no single “source of truth”. (Not counting “upstream”, of course.)

              • rhabarba
                link
                fedilink
                412 days ago

                Both Mercurial and Git started around the same time as a replacement for BitKeeper - which also was decentralised.

        • Well just speaking for myself, i use git without a forge for personal stuff because i was already familiar with git and it fits my needs. No need to learn another version control system for some basic projects i throw together

    • @footfaults@lemmygrad.ml
      link
      fedilink
      English
      311 days ago

      Why use Git at all then?

      Still need to version control the work. No editor’s undo buffer is a complete history of all changes

    • @HelloRoot@lemy.lol
      link
      fedilink
      English
      1
      edit-2
      12 days ago

      distributed, asynchronous collaboration and versioning.

      Or do you wanna send zipped up sourcefiles “project_dev_0.9.6.2_developername_featureID.zip” per email to a dozen colleagues who then have to manually merge it into their current WIP?

      • rhabarba
        link
        fedilink
        -412 days ago

        There is a difference between “not using a VCS” and “using Git”.

        • @HelloRoot@lemy.lol
          link
          fedilink
          English
          5
          edit-2
          12 days ago

          Let me make it clear to you then.

          Why use Git at all then?

          For it’s VCS features.

          I thought the one reason why everyone wants to use Git these days are the forges.

          You thought wrong. Git is not wanted exclusively for the forges, but also for it’s VCS capabilities.

          • rhabarba
            link
            fedilink
            -212 days ago

            Which VCS capabilities make Git stand out in comparison to all other DVCSs if you don’t need a web UI?

    • @villainy@lemmy.world
      link
      fedilink
      411 days ago

      Git experience is highly transferrable. Unless you have some specific use case not supported by Git, why wouldn’t you use the one where the knowledge is most likely to carry over between projects/jobs?

      • rhabarba
        link
        fedilink
        011 days ago

        I am one of those weirdos who prefer the best tool for a job, not the most popular one. And Git is - for me and my projects with exactly one branch (“trunk”) and three or four other contributors, with me being the BDFL - the worst choice.