gitconfig: add alias cleandi & cleandix

* d = also remove untracked directories
* i = interactive
* x = don't care about gitignore.
This commit is contained in:
Mikaela Suomalainen 2014-06-30 15:05:27 +03:00
parent 24294aa325
commit ea14e834cb
2 changed files with 9 additions and 6 deletions

View File

@ -3,8 +3,10 @@
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
# From http://progit.org/book/ch2-7.html
last = cat-file commit HEAD
cleandi = clean -di
cleandix = clean -dix
[core]
editor = vim
editor = vim
autocrlf = input
[color]
# From git manpage and http://book.git-scm.com/5_customizing_git.html

View File

@ -3,10 +3,11 @@
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
# From http://progit.org/book/ch2-7.html
last = cat-file commit HEAD
cleandi = clean -di
cleandix = clean -dix
[core]
#editor = vim
editor = vim
autocrlf = input
[color]
# From git manpage and http://book.git-scm.com/5_customizing_git.html
branch = true
@ -18,8 +19,8 @@
status = true
ui = true
[user]
#name = Mikaela Suomalainen
#email = mikaela.suomalainen@outlook.com
#signingkey = 0xDAA6CA08F2E96AC7
# name = Mikaela Suomalainen
# email = mikaela.suomalainen@outlook.com
# signingkey = 0xDAA6CA08F2E96AC7
[push]
default = current