Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 621 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 621 Bytes

gh-edit

Edit Issues, PRs, Comments, and Gists locally

It's like https://cli.github.com/manual/gh_gist_edit but better

Easy as:

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

gh extension install nobe4/gh-edit

Usage

$EDITOR environment variable must be set.

gh edit URL FILE

See support in ./gh-edit or with gh edit -h.