new_mac_setup

New Mac Setup

View the Project on GitHub eltioska/new_mac_setup

home

Dev Environment

Git

Installation & User Setup
More on the Git config file

This info will get added to your .gitconfig file.

With the above aliases, you can run git s instead of git status.

git config --global credential.helper osxkeychain

(This might not work if 2FA is enabled (see here in which case SSH is required - see below.)

(N.B. This can already be added by editing the .gitconfig file directly, as in the example before this point)

Github SSH

** to add info here **

DS_Store

Tell git to ignore .DS_Store files (Mac-specific). To never include .DS_Store files in Git repositories, configure your Git to globally exclude those files: Set up a .gitignore file to specify a global exclusion list:

git config --global core.excludesfile ~/.gitignore
# adding .DS_Store to that list
echo .DS_Store >> ~/.gitignore

Docker