Skip to content
This repository

Adds default ignore files for Git and Mercurial using PowerShell

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Content
Octocat-spinner-32 AddDefaultIgnoreFiles.psm1
Octocat-spinner-32 README.md
README.md

Introduction

This module allows to add .gitignore, .gitattributes 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).

Installation

PSGet

  1. Install psget
  2. Run Install-Module default-ignores

Manual

Download AddDefaultIgnoreFiles.psm1 and run Import-Module AddDefaultIgnoreFiles.psm1

Usage

cd YOUR_PROJECT_ROOT

Add-GitIgnore adds .gitignore

Add-HgIgnore adds .hgignore

Add-GitAttr adds .gitattributes

How to contribute

Templates are located in Content folder. Just fork, modify and send me a pull request.

Something went wrong with that request. Please try again.