Skip to content

Adds default ignore files for Git and Mercurial using PowerShell

Notifications You must be signed in to change notification settings

mozerov/add-default-ignores

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

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).

Installation

Manual

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

PSGet (not working yet)

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

Usage

cd YOUR_PROJECT_ROOT

Add-GitIgnore adds .gitignore

Add-HgIgnore adds .hgignore

How to contribute

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

About

Adds default ignore files for Git and Mercurial using PowerShell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%