Skip to content

Learning Git

This section contains resources for learning how to use the Git version control system.

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