• Rooki@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    12
    ·
    1 年前

    But it is still 1 centralized server that has the code and serves it to you. Its like to say “The internet is federated as i have copied some memes onto my pc”

    • madsen@lemmy.world
      link
      fedilink
      English
      arrow-up
      27
      arrow-down
      2
      ·
      edit-2
      1 年前

      No, that’s not quite how git works. Everyone who’s cloned the repo has a complete copy of the code — at least at the time they cloned/checked it out. If GitHub, Gitlab, BitBucket or whatever goes away, you can keep working without it, provided that people know how to use a remote from another machine. Git really is decentralized even if people tend to use it in a centralized fashion.

      Edit: Spelling.

      • james@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 年前

        I agree with both of you (not sure why the one got so many downvotes).

        Git is not centralized. GitHub, GitLab, Bitbucket, Gitea, is a centralized server.

        These services are more than just git repositories. They’re issue tracking, merge/pull requests, wikis, CI/CD, etc. If the service is lost, the source is still out there but it could be quite the pain to get going again.

        • madsen@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 年前

          You’d still have a complete copy of the current HEAD, you’d just be missing a bunch of history depending on the depth at which you cloned.

      • Rooki@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 年前

        It is supporting my point btw. The internet is federated then. For example: “With my copy of a meme is a complete copy too. If Lemmy goes away it keeps working without it. And i can share it al along :)” If git(hub) is federated then is everything on the internet too.

        • madsen@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 年前

          It’s really not. In your example, the meme would be decentralized — not “the internet”. Also, I think you’re confusing “git” with services offering “git and more” such as GitHub, GitLab, etc.

          • Rooki@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 年前

            Yup. Thats my point. GIT IS DECENTRALIZED NOT FEDERATED.

            :D You said it yourself

            • madsen@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              1 年前

              Literally no one but you has used the word “federated” in his thread of comments… You responded to the original comment about git being decentralized by saying “it’s still 1 centralized server that has the code”. I corrected you, because that’s not how git works, and now I’m not sure what the fuck you’re on about…

              Edit: Screenshot, in case you forget.

              • Rooki@lemmy.worldM
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 年前

                Sry i was wrong XD lmao. I thought you wanted to proof that git is federated