🚨 Important: If you're in the US, remember to vote on Tuesday November 5th! 🗳️
🇺🇸 Also check your voter registration, some states have been purging voting rolls. 🇺🇸
A Shell Function To Automatically Add A Gitignore
2018 May 23
I often need to download a gitignore when starting a project, so I made
a function that will get a gitignore for a given project from GitHub’s
collection.
This method supports exactly one arguement, and creates a .gitignore
in your working directory. It pulls from GitHub’s collection of
gitignore files.
This script does not handle adding multiple of the same gitignore. It
also assumes that you already working in the directory you want to place
the retrived gitignore content.
To add this to your shell. Append it to either your .zshrc or
.bashrc, depending on what shell you use.