This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.ignore-create '!gi() { \ | |
if [ $# -eq 0 ]; then \ | |
echo "Usage: git ignore-create list-item,...\n" ;\ | |
echo "Avalaible list items:" ;\ | |
curl -sL "https://www.gitignore.io/api/list" | tr -d "\n" ;\ | |
echo "" ;\ | |
else \ | |
echo "# DO NOT EDIT THIS FILE" ;\ | |
echo "# Put your local changes on .gitignore.local, then\n" ;\ | |
echo "# To update type: git ignore-update" ;\ |
OlderNewer