Skip to content

Instantly share code, notes, and snippets.

@johnmcase
Last active June 18, 2018 19:45
Show Gist options
  • Save johnmcase/edc723dd805fdcad871c2ce0f1f4196f to your computer and use it in GitHub Desktop.
Save johnmcase/edc723dd805fdcad871c2ce0f1f4196f to your computer and use it in GitHub Desktop.
Git setup
[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
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