Skip to content

Instantly share code, notes, and snippets.

@kuroda
Last active March 24, 2018 02:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuroda/5502079 to your computer and use it in GitHub Desktop.
Save kuroda/5502079 to your computer and use it in GitHub Desktop.
[user]
name = Tsutomu Kuroda
email = t-kuroda@oiax.jp
[alias]
ci = commit
cia = commit --amend
co = checkout
cop = checkout @{-1}
cp = cherry-pick
mf = merge --ff-only
mfp = merge --ff-only @{-1}
s = status
st = status -s
tip = log -1
bdm = !git branch --merged | grep -v \\* | xargs -I % git branch -d %
br = branch -v --sort=-committerdate
bra = branch -a -v --sort=-committerdate
brr = branch -r -v --sort=-committerdate
fe = fetch -p origin
lo = log --oneline
l = log --oneline -5 --graph --decorate
ll = log --oneline -20 --graph --decorate
lll = log --oneline -40 --graph --decorate
d = diff
dc = diff --cached
dn = diff --name-status
dh = diff HEAD^!
dt = diff-tree -p
fe = fetch -p
tags = show-ref --tags --abbrev
pf = push --force-with-lease
rc = rebase --continue
pull = pull --ff-only
[core]
excludesfile = /home/kuroda/.gitignore
editor = vim
pager = sed -r 's/\\\\(\\x1b[^ ]+ )/∖\\1/g'
[color]
status = auto
branch = auto
diff = auto
interactive = auto
ui = auto
[http]
postBuffer = 524288000
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment