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