- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
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 !


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.
This is my github this gives you an idea into how l converted git. But honestly, l need something simple to start with which uses git.
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.
Probably that’s the property of git that l stumbled upon ?
But how do l save art files locally in the form of git ?
Same as you would anything else!
git init(if you’re making a new repository)git add somefile.kragit commit(and then write your commit message)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 ?
Oh yep! If you’re on Linux,
sudo apt install gitshould sort you out if you’re on a Debian-ish distro (including Mint or Ubuntu). Fedora it’ssudo dnf install git, Arch… uhh… I don’t know a ton about Arch’s pacman.it’s already there, now that I see it.
I would have loved MX Linux, but since l’m using my brother’s laptop which runs on windows 10, l’m using WSL, whose default is Ubuntu. But this command works in this setup as well l suppose 🙃🙃🙃