diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index f286098..87deb7a 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -53,6 +53,10 @@ d = diff -w dc = diff -w --cached + # from https://www.toptal.com/developers/gitignore + # create .gitignore templates based on operationg systems, IDE, languages etc. + ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi" + [core] editor = vim