---
name: "gt-pr-attachment"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-pr-attachment"
---

# gt-pr-attachment(1)

Manage the attachments of pull requests

## NAME

gt-pr-attachment - Manage the attachments of pull requests

## SYNOPSIS

**gt pr attachment \[flags\]**

## DESCRIPTION

List, view, upload, download, rename and delete the files attached to a pull request. Attachments are addressed by the pull request number and the attachment ID that attachment list shows.

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for attachment

## OPTIONS INHERITED FROM PARENT COMMANDS

**--cwd**=""\
 	Working **directory** for repository discovery

**--debug**\[=false\]\
 	Log the method, URL, status, and duration of each HTTP request to stderr

**--host**=""\
 	Gitea instance **URL**, including any base path

**--interactive**\[=false\]\
 	Allow prompts with machine output

**--no-input**\[=false\]\
 	Disable prompts and implicit editor/browser interactions

**--remote**=""\
 	Git **remote** used for repository discovery

**-R**, **--repo**=""\
 	Select a repository as **OWNER/REPO** or URL

**--sudo**=""\
 	Perform API requests as this **user** (requires an administrator account)

**--user**=""\
 	Account **name** on the selected instance

## SEE ALSO

**[gt-pr(1)](/man/gt-pr/1.md)**, **[gt-pr-attachment-delete(1)](/man/gt-pr-attachment-delete/1.md)**, **[gt-pr-attachment-download(1)](/man/gt-pr-attachment-download/1.md)**, **[gt-pr-attachment-edit(1)](/man/gt-pr-attachment-edit/1.md)**, **[gt-pr-attachment-list(1)](/man/gt-pr-attachment-list/1.md)**, **[gt-pr-attachment-upload(1)](/man/gt-pr-attachment-upload/1.md)**, **[gt-pr-attachment-view(1)](/man/gt-pr-attachment-view/1.md)**
