git: add unadd alias
This commit is contained in:
parent
8c5f31daac
commit
929b32d4e5
33
gitconfig
33
gitconfig
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue