Skip to content

Instantly share code, notes, and snippets.

@monkseal
Created February 24, 2023 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkseal/e19bbd2488df67985cf87e95d56462cc to your computer and use it in GitHub Desktop.
Save monkseal/e19bbd2488df67985cf87e95d56462cc to your computer and use it in GitHub Desktop.
LongLakeRoad .gitconfig
[color]
branch = auto
status = auto
diff = auto
[color "diff"]
meta = yellow
frag = cyan
old = red
new = green
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
ss = "status -s"
ci = commit
co = checkout
br = branch
fc = "diff master --name-only"
cl = "!git branch --merged | grep -v deploy | grep -v master | xargs -n 1 git branch -d"
unstage = "restore --staged "
cmr = "commit -m \"[style]: Rubocop fixes\""
cmt = "commit -m \"[testing]: adding test\""
no = "diff flux --name-only"
lbr = "for-each-ref --sort=committerdate refs/heads/"
sapply = "!f() { git stash apply stash^{/$*} ; }; f"
ctags = !.git/hooks/ctags
[user]
name = Kevin English
email =
[branch]
autosetuprebase = always
[core]
editor = /usr/bin/vim
excludesfile = /Users/kenglish/.gitignore_global
pager = less
[push]
default = matching
[pager]
branch = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment