git: add unadd alias

This commit is contained in:
Henrik Lissner 2014-10-30 00:37:41 -04:00
parent 8c5f31daac
commit 929b32d4e5

View file

@ -1,26 +1,27 @@
[user] [user]
name = Henrik Lissner name = Henrik Lissner
email = henrik@lissner.net email = henrik@lissner.net
[github] [github]
user = hlissner user = hlissner
[core] [core]
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
whitespace = trailing-space whitespace = trailing-space
[color] [color]
ui = true ui = true
[diff] [diff]
tool = vimdiff tool = vimdiff
[difftool] [difftool]
prompt = false prompt = false
[merge] [merge]
# Include summaries of merged commits in newly created merge commit messages # Include summaries of merged commits in newly created merge commit messages
log = true log = true
[push] [push]
default = simple default = simple
[credential] [credential]
helper = osxkeychain helper = osxkeychain
[alias] [alias]
undo-commit = reset --soft "HEAD^" undo-commit = reset --soft "HEAD^"
amend = commit --amend amend = commit --amend
ls = ls-files ls = ls-files
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
unadd = reset HEAD