Skip to content

Instantly share code, notes, and snippets.

@5818959
Created August 7, 2017 10:30
Show Gist options
  • Save 5818959/be8e2a88c3b6a068cf5a8d52122a648e to your computer and use it in GitHub Desktop.
Save 5818959/be8e2a88c3b6a068cf5a8d52122a648e to your computer and use it in GitHub Desktop.
[core]
quotepath = false
editor = nano
autocrlf = input
excludesfile = /Users/username/.gitignore_global
[user]
name = username
email = user@email.local
[alias]
ap = add -p
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
ss = status -s
type = cat-file -t
dump = cat-file -p
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
ign = ls-files -o -i --exclude-standard
dsc = describe
hide = update-index --assume-unchanged
unhide = update-index --no-assume-unchanged
unhide-all = update-index --really-refresh
hidden = !git ls-files -v | grep \"^[a-z]\"
ignored = !git status -s --ignored | grep \"^!!\"
pusha = push --follow-tags
fl = diff --name-only HEAD HEAD^1
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow bold
remote = green bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[diff]
wsErrorHighlight = old,new
[color "status"]
added = yellow bold
changed = green bold
untracked = cyan bold
[color]
ui = true
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment