Last active
June 18, 2018 19:45
-
-
Save johnmcase/edc723dd805fdcad871c2ce0f1f4196f to your computer and use it in GitHub Desktop.
Git setup
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
[user] | |
email = [email protected] | |
name = John Case | |
[http] | |
proxy = http://am.proxy.ge.com:80/ | |
[https] | |
proxy = http://am.proxy.ge.com:80/ | |
[core] | |
pager = diff-so-fancy | less --tabs=4 -RFX | |
[alias] | |
patch = !git --no-pager diff --no-color | |
cleanup = "!git branch --merged | grep -v -P '^\\*|master|develop' | xargs -n1 -r git branch -d" | |
[fetch] | |
prune = true |
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
alias glog='git log --graph --pretty="%C(auto)%h %<(15,trunc)%an %<(15,trunc)%ar %C(cyan)%<(50,trunc)%s %C(auto)%D"' | |
alias cls='printf "\033c"' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment