https://github.com/nobe4/gh-edit
Edit Issues, PRs, Comments, and Gists locally
https://github.com/nobe4/gh-edit
comment gh-extension gist issue pull-request
Last synced: about 2 months ago
JSON representation
Edit Issues, PRs, Comments, and Gists locally
- Host: GitHub
- URL: https://github.com/nobe4/gh-edit
- Owner: nobe4
- License: mit
- Created: 2023-11-30T14:10:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T14:04:00.000Z (over 2 years ago)
- Last Synced: 2025-12-26T08:36:19.107Z (6 months ago)
- Topics: comment, gh-extension, gist, issue, pull-request
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gh-edit`
Edit Issues, PRs, Comments, and Gists locally
> It's like https://cli.github.com/manual/gh_gist_edit but better
Easy as:
```bash
gh edit https://github.com/owner/repo/issues/123#issuecomment-456
```
If you spend a lot of time typing on GitHub and miss the comfort of your own
editor, I feel you.
This is why I wrote this little script, it syncs-on-save a local file with a
PR/Issue/Comment/Gist.
## Install
```bash
gh extension install nobe4/gh-edit
```
## Usage
`$EDITOR` environment variable must be set.
```bash
gh edit URL FILE
```
See support in [`./gh-edit`](./gh-edit) or with `gh edit -h`.