mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
gitconfig: add alias cleandi & cleandix
* d = also remove untracked directories * i = interactive * x = don't care about gitignore.
This commit is contained in:
parent
24294aa325
commit
ea14e834cb
@ -3,6 +3,8 @@
|
|||||||
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
|
||||||
|
11
gitconfig
11
gitconfig
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user