Last active
August 26, 2017 17:53
-
-
Save davidmerrick/cdf7e116043de411ec35a98c4606782f to your computer and use it in GitHub Desktop.
git alias to generate gitignore file from gitignore.io
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
[alias] | |
gitignore = "!gitignore(){ curl https://www.gitignore.io/api/$1; }; gitignore" | |
# Example usage: git gitignore node,intellij,macos > .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment