GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.github.com — Attaching files with GitHub CLI - GitHub Docs Attaching files with GitHub CLIAttach local images and videos to issues, pull requests, and comments without leaving the command line. In this articleYou can attach a local image or video from the command line with GitHub CLI using the You need push access to the repository to attach files. The
Attaching a filePass
You can combine
To set alt text for an image, add it to the end of the path after a
If you do not provide alt text, GitHub CLI uses the file name. Note Alt text is not supported on video files. Embedding an attachment in MarkdownIf your Markdown text already references a local file, and you attach that same file with Embedding an imageFor example, save the following content in
Run the following command with
GitHub CLI replaces the local path with the uploaded URL and keeps your Markdown and alt text. When a reference is rewritten, the alt text comes from the Markdown, so any Any attached file that the body does not reference is appended to the end of the body, in the order you passed the flags. Embedding a videoTo embed a video as a player, save the following Markdown image reference in
Then attach the same video:
GitHub CLI replaces the entire reference with the uploaded URL, which renders as a player. If the reference appears within a sentence, it renders as a link instead. LimitationsThe GitHub CLI only supports uploading image and media files. For a list of supported file types, see Attaching files. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |