An open API service indexing awesome lists of open source software.

https://github.com/dotcypress/ps-git-ignores

GitIgnore generator for PowerShell
https://github.com/dotcypress/ps-git-ignores

Last synced: about 1 month ago
JSON representation

GitIgnore generator for PowerShell

Awesome Lists containing this project

README

        

# GitIgnore generator for PowerShell

Module for creating .gitignore files via GitHub templates.

## Installation

### Manual

Download [GitIgnores.psm1](https://raw.github.com/dotCypress/ps-git-ignores/master/GitIgnores.psm1) and run `Import-Module GitIgnores.psm1`

### PSGet

1. Install [psget](http://psget.net/)
2. Run `Install-Module ps-git-ignores`

## Commands

### Get-GitIgnore

Displays list of supported templates.

#### Usage

```bash
Get-GitIgnore [[-Template] ]
```

#### Examples

```bash
Get-GitIgnore
```

```bash
Get-GitIgnore Ocaml
```

### Add-GitIgnore

Adds requested .gitignore to current directory.

#### Usage

```bash
Add-GitIgnore [-Template]
```

#### Examples

```bash
Add-GitIgnore CSharp
```

## Integration

[PowerTab](http://powertab.codeplex.com/) intergation is included.

![GitIgnore generator with PowerTab](https://raw.github.com/dotCypress/ps-git-ignores/master/docs/PowerTab.PNG)

## License

[BSD license](http://opensource.org/licenses/bsd-license.php)