Skip to content

Instantly share code, notes, and snippets.

@hatsusato
Created February 23, 2016 13:37
Show Gist options
  • Save hatsusato/6e74797b6c3887638a9f to your computer and use it in GitHub Desktop.
Save hatsusato/6e74797b6c3887638a9f to your computer and use it in GitHub Desktop.
[user]
name =
email =
[core]
editor = emacs -nw --color=auto
pager = lv -c
excludesfile = ~/.gitignore-global
[color]
ui = auto
[fetch]
prune = true
[alias]
a = add
aa = add -u
ap = add -p
b = branch -vva
bcreate = branch
bd = branch -d
bdelete = branch -D
bmove = branch -f
brename = branch -m
c = commit -v
ca = commit -v --amend
cb = checkout -b
cc = checkout -- .
ce = commit --allow-empty -m 'Empty commit'
cf = checkout --
ch = checkout
cl = clean -i
d = diff
dc = diff --cached
dn = diff --name-only
dp = diff HEAD^
ds = diff --stat
f = fetch -p
ff = merge --ff-only
ls = ls-files
m = merge --no-ff
p = push -u
pul = fetch -p
pus = push -u
ra = rebase --abort
rc = rebase --continue
re = rebase --edit-todo
ri = rebase -i
rs = rebase --skip
remove = rm --cached
soft = reset --soft
s = status
sa = stash apply
sd = stash drop
sh = stash show -p
sl = stash list
sp = stash pop
ss = stash save
[merge]
tool = emerge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment