gitignore

An Alfred Workflow


Short Description

Create .gitignore files using Alfred

Last Updated

25 Nov 2015

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0.0
 

Bundle ID

de.jandavid.alfred.gitignore
 

Author

Features

gitignore is an Alfred workflow that lets you create .gitignore files from Alfred's input interface. It uses templates provided by GitHub, and combines them into a single .gitignore file.

  • Works offline
  • Uses battle-tested templates from GitHub
  • Easy to use

Installation

After installing the workflow, you need to download the templates. Enter the following command in Alfred:

gitignore-update

Executing this will clone the github/gitignore repository, and make the templates in it available on your machine.

Usage

To use this workflow, simply type in:

gitignore

You will now see a list of all templates installed on your machine. You can search for specific templates by typing in their name. Selecting a template will place add it to the command line.

If you've selected all templates that you want to combine, simply select the first item in the list called Build .gitignore file. This will start the generation of the template, and open it in TextEdit once it has been created.

Copy & paste the contents of the file into the .gitignore file of your project.

Just FYI: The temporary file is created in /tmp/, and will be deleted automatically after three days.

Screenshots