Skip to content

Instantly share code, notes, and snippets.

@ismailbenhallam
Created February 28, 2023 16:40
Show Gist options
  • Save ismailbenhallam/b6d180d9a07804bb18420096d144a025 to your computer and use it in GitHub Desktop.
Save ismailbenhallam/b6d180d9a07804bb18420096d144a025 to your computer and use it in GitHub Desktop.
git config --global alias.ignore \
'!gi() {
curl -sL “https://www.toptal.com/developers/gitignore/api/$@” >> .gitignore
echo "Updated .gitignore file for $@"
}; gi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment