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
This method supports exactly one arguement, and creates a
in your working directory. It pulls from GitHub's collection of
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
.bashrc, depending on what shell you use.