Skip to content

Learning git

This section contains resources for learning how to use the Git version control system. I highly recommend getting familair with the Terminal to make the most out of learning and using Git and Github. If you are new to the a command line interface (ie Terminal), start by looking at the beginner section of Learning Terminal.

Note this is a living document and is constantly being updated. Some things may come and go over time.

Beginner

How to setup a global ignore file to ignore system files like .DS_Store (macOS). The alternative is to specify ignored files in .gitignore for a local repository.

  1. Create ignore file with .DS_Store in it. echo .DS_Store >> ~/.gitignore_global

  2. Configure git to use the ignore file. git config --global core.excludesfile ~/.gitignore_global

Git & GitHub

Markdown

Back to top