forge/core — pull request #241 by thomashug (2012-11-21 21:33:31+00:00)
Title: [FORGE-706] Git tools additions for .gitignore

Usage:

git init
gitignore setup

Prompts for alternative installation / clone location of the gitignore template repository. Both values go into the user configuration.

gitignore list-templates

Shows all available templates.

gitignore create template1 template2 ...

Creates the .gitignore with the given templates (tab support). Sends a pickup event with the GitIgnoreResource, enabling the GitIgnoreContent plugin by Dan. I guess Forge 2 will allow to combine both plugins with @RequiresResource on commands.

gitignore-edit list
gitignore-edit add pattern
gitignore-edit remove pattern

To enter edit mode at a later stage:

gitignore edit