Skip to content

Instantly share code, notes, and snippets.

@jeffjrare
Created November 30, 2012 14:22
Show Gist options
  • Save jeffjrare/4176065 to your computer and use it in GitHub Desktop.
Save jeffjrare/4176065 to your computer and use it in GitHub Desktop.
Jeff' .gitconfig
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = green
changed = yellow
untracked = cyan
[apply]
whitespace = nowarn
[alias]
bhist = !sh ~/projects/scripts/githist.sh
adda = add --all
st = status
cam = commit -a -m
ci = commit
cia = commit --amend
co = checkout
br = branch
sb = show-branch
cp = cherry-pick
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short#"
unstage = reset HEAD --
u = reset HEAD --
m = merge --no-ff
po = pull origin
por = pull --rebase origin
pusho = push origin
pullo = pull origin
pullro = pull --rebase origin
pr= pull --rebase
s = show --pretty=format: --name-only
sl= stash list
staged = diff --cached
rb = rebase
rba= rebase --abort
rbc = rebase --continue
rbs = rebase --skip
rh = reset HEAD
rl = reflog
rs = remote show
rt = remote
ru = remote update
rp = remote prune
sm = submodule
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
copm = checkout project-mondossier
corpm = checkout release-project-mondossier
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
undo = reset --hard HEAD^
[dude]
interval = 60
icon = none
[log]
decorate = full
[mergetool]
keepBackup = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment