July 28, 2023

re: Coding

This Post is part of the Blog Chain: Write An App (2023) Blog-Chain.

Today I had just a little time to check off a small task to set up version control.

I started by checking if I had git already installed. I used git --version to see that I'm on v 2.34.1 but according to the git website, 2.41 is available. I'm unsure what the following upgrade syntax means with regard to PPA, so I'm going to skip doing it as I suspect there is risk in doing this without understanding whata happening: For Ubuntu, this PPA provides the latest stable upstream Git version

# add-apt-repository ppa:git-core/ppa # apt update; apt install git

So I just skipped ahead to inputting my credentials.After that for the sake of time, I just "cheated" on the initial commit to the Github repo by using the git workflows I had already set up in VSCode on the Windows side rather than in WSL Ubuntu.

Ideally I would have learned to set up a fresh git workflow in WSL Ubuntu. I may come back to that in the future. For now, at least I have version control set up for my Rust exercises.