Imagine a young explorer who’s just heard that word, “git”. But it actually means an entire world. How is this young explorer supposed to dive into this mysterious world with just a machine in hand ?

He’s got vs code though !! And he’s also got fish and zsh on WSL !

  • okwhateverdude@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 month ago

    Depends on the goal. Exploration for exploration sake is probably not going to hold your attention long. git is a tool to track changes. Do you have something you want to change? In other words, you need a reason to use it. Pedantically, your image already has a problem. git is not centralized. It is merely convention that some given local repo is blessed as “upstream”. But the whole point is that git is distributed.

    Advice: Find a reason to use git. Put your /etc/ under git control, for example. Or something in your home directory (lots of people roll some kind of dotfiles repo). Or contribute to a FOSS project that uses git.

      • forestbeasts@pawb.social
        link
        fedilink
        arrow-up
        2
        ·
        30 days ago

        You can always version control regular-ass documents, art files, whatever, too! You might not be able to diff them very well, but you can absolutely use git as a bunch of save states.

        git is entirely local-only. You don’t need to upload anything to github at all.

          • forestbeasts@pawb.social
            link
            fedilink
            arrow-up
            1
            ·
            30 days ago

            Same as you would anything else!

            git init (if you’re making a new repository)
            git add somefile.kra
            git commit (and then write your commit message)

            • LoveEspresso@cafe.coffee-break.ccOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              30 days ago

              But l need to download git into my system locally for my machine to understand the command, correct ?

              In that case, how do I install git ?

              • forestbeasts@pawb.social
                link
                fedilink
                arrow-up
                1
                ·
                29 days ago

                Oh yep! If you’re on Linux, sudo apt install git should sort you out if you’re on a Debian-ish distro (including Mint or Ubuntu). Fedora it’s sudo dnf install git, Arch… uhh… I don’t know a ton about Arch’s pacman.