Last active
June 18, 2021 08:54
-
-
Save IanLee1521/77b5dd14d203c27cb5856ae7b93c0cde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Who am I? | |
git config --global user.name "Ian Lee" | |
git config --global user.email "IanLee1521@gmail.com | |
# Random Settings | |
git config --global color.ui always | |
git config --global http.sslVerify true | |
git config --global core.excludesfile ~/.gitignore | |
git config --global core.editor vim | |
git config --global push.default simple | |
git config --global core.preloadIndex true | |
git config --global credential.helper "cache --timeout=43200" | |
# Aliases | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
git config --global alias.root "rev-parse --show-toplevel" | |
git config --global alias.up "fetch --all -p" | |
git config --global alias.stale "branch -a --merged" | |
git config --global alias.dangling "branch -a --no-merged" | |
git config --global alias.authors "!git log --all --format='- %aN (%aE)' | sort -u | sed 's/@/ AT /1' | sed -e 's/\.\([^ ]\)/ DOT \1/g'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment