Skip to content

Instantly share code, notes, and snippets.

@yitznewton
Last active December 26, 2015 08:39
Show Gist options
  • Select an option

  • Save yitznewton/7123856 to your computer and use it in GitHub Desktop.

Select an option

Save yitznewton/7123856 to your computer and use it in GitHub Desktop.
[user]
name = yitznewton
email = [email protected]
[alias]
ci = commit
st = status
co = checkout
br = branch
pur = pull --rebase
subup = submodule update --init
f = fetch
sl = stash list
ss = stash save
sa = "!sh -c 'git stash apply stash@{$1}' -"
sd = "!sh -c 'git stash drop stash@{$1}' -"
dd = diff --cached
cp = cherry-pick -x
l1 = log --oneline
l1h = !sh -c 'git log --oneline "$@" | head' -
bc = branch --contains
reci = commit --amend --reuse-message HEAD
addw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
cia = commit --amend
rec = rebase --continue
[core]
pager = less -x1,5
excludesfile = /home/yschaffer/.gitignore
filemode = false
autocrlf = input
[push]
default = current
[pull]
default = current
[pager]
stash = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment