Gitting the hang of it

4 Aug 2022

I spent most of the day learning about, and practicing with git. I’ll list some of the resources at the bottom, but for the moment, this is my understandings / cheat sheet for git. Since this could conceivably turn up in someone’s google search, and slightly less conceivably be of some use, I will come back and edit it if there’s something bad/wrong here. Comments would be great if you think that’s the case.

It’s most likely to be useful to someone using Xcode, GitHub, and the command line for git on MacOS.

Start a new repository (repo)

Xcode

About .gitignore

To check how things are going

To add any files you’ve created in the project to version control from the CLI

When done editing and adding files and they need to be “saved” to the local repository

To “push” all the changes up to GitHub from the CLI

To tag all the files in the current local repo

To clone from a tag point

Some resources