GIT: Alias for gitignore.io -> git ignore

This commit is contained in:
Tobias Manske 2018-08-06 09:30:03 +02:00
parent fdf47bf285
commit dbaf98c784
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F

View File

@ -6,6 +6,7 @@
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d" cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
undo = reset HEAD~ undo = reset HEAD~
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
[commit] [commit]
gpgsign = true gpgsign = true
[core] [core]