Skip to content

Instantly share code, notes, and snippets.

@sirwolfgang
Last active December 24, 2020 17:31
Show Gist options
  • Save sirwolfgang/47d2706fa9b97e52c49ca5b543884057 to your computer and use it in GitHub Desktop.
Save sirwolfgang/47d2706fa9b97e52c49ca5b543884057 to your computer and use it in GitHub Desktop.
git config --global user.name "Zane Wolfgang Pickett"
git config --global user.email "[email protected]"
git config --global color.ui true
git config --global core.editor nano
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=3600'
git config --global core.autocrlf input
git config --global alias.heir "log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
git config --global alias.clean-branches '!git branch | grep -v "main\|master\|develop\|*" | xargs git branch -D'
curl https://raw.githubusercontent.com/github/gitignore/master/Global/macOS.gitignore > ~/.gitignore
git config --global core.excludesfile ~/.gitignore
ln -s /Applications/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment