Skip to content

Version Control#

Install git and the GitHub CLI

brew install git
brew install gh

gh_cli.png

git config#

git config --global user.name "juftin"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
git config --global pull.rebase false
git config --global --add --bool push.autoSetupRemote true
curl https://raw.githubusercontent.com/github/gitignore/master/Global/macOS.gitignore -o ~/.gitignore
git config --global core.excludesfile ~/.gitignore
gh auth login
gh auth setup-git