---
name: "gh-repo-gitignore"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-repo-gitignore"
---

# gh-repo-gitignore(1)

List and view available repository gitignore templates

## NAME

gh-repo-gitignore - List and view available repository gitignore templates

## SYNOPSIS

**gh repo gitignore \<command\> \[flags\]**

## AVAILABLE COMMANDS

- **[gh-repo-gitignore-list(1)](/gh-repo-gitignore-list/1.md)**

  List available repository gitignore templates

- **[gh-repo-gitignore-view(1)](/gh-repo-gitignore-view/1.md)**

  View an available repository gitignore template

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## SEE ALSO

**[gh-repo(1)](/gh-repo/1.md)**
