This module allows to add .gitignore
or .hgignore
with .NET default patterns to current folder just after the new repository is created. Templates are taken from github (Content folder of this project).
Download AddDefaultIgnoreFiles.psm1 and run Import-Module AddDefaultIgnoreFiles.psm1
- Install psget
- Run
Install-Module default-ignores
cd YOUR_PROJECT_ROOT
Add-GitIgnore
adds .gitignore
Add-HgIgnore
adds .hgignore
Templates are located in Content folder. Just fork, modify and send me a pull request.