This tools will create a .gitignore file for you based on your choice.
All .gitignore files are from github/gitignore.
- Install the package
go install github.com/madeindra/gitignore
- Run the program with the name as argument (will continue to step 3 if the argument is not valid)
gitignore go
- Or for the program without argument to get the list of available .gitignore files
gitignore
-
Wait for the list of available .gitignore files to be shown
-
Enter the number of the .gitignore file you want to create
-
Wait for the .gitignore file to be created