# Gitignore for Raycast

URL: https://www.raycast.com/daniel-stoneuk/gitignore

> Create a .gitignore file for your project from hundreds of templates for languages, frameworks and tools, with favorites.

- Install: raycast://extensions/daniel-stoneuk/gitignore
- Author: [Daniel Stone](https://www.raycast.com/daniel-stoneuk)
- Installs: 4,454
- Platforms: macOS, Windows
- Categories: Developer Tools
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/dccfc8877dd0e658295cb4b6d29b4a0a1b79baf8/extensions/gitignore/

## Commands

- **Gitignore**: Create a gitignore file for selected project types.

## README

### Gitignore

Quickly create a `.gitignore` file for your project by selecting from hundreds of templates. Supports both macOS and Windows.

#### Features

- **Browse Templates**: Search through hundreds of gitignore templates organized by language, framework, and tool
- **Favourites**: Pin frequently used templates to the top for quick access
- **Auto-Select Favourites**: Automatically select your favourite templates when opening the extension (optional)
- **Preview**: Preview gitignore contents before creating your file
- **Quick Actions**: Copy to clipboard or paste directly to your active application

#### Usage

1. Open Raycast and search for "Gitignore"
2. Browse or search for the templates you need
3. Select one or more templates
4. Use the "Create .gitignore" option to:
   - Copy to clipboard
   - Paste directly to your app
   - Preview the contents

##### Favourites

- Press `⌘⇧P` (or `Ctrl + .` on Windows) to add/remove templates from your favourites
- Favourites appear at the top in a dedicated section
- Enable "Auto Select Favorites" in preferences to automatically select favourites when opening the extension

##### Keyboard Shortcuts

- `⌘⇧P` / `Ctrl + .`: Toggle favourite status (Pin)
- `⌘Y` / `CtrlY`: Preview selected templates
- `⌘⇧↩` / `Ctrl⇧↩`: Paste to active application

#### Preferences

- **Preview**: Enable/disable file preview in the gitignore list (default: enabled)
- **Auto Select Favorites**: Automatically select favourites when opening the extension (default: enabled)

#### Credits

Templates are sourced from the [GitHub gitignore repository](https://github.com/github/gitignore).
