Skip to content
/ gh-edit Public

Edit Issues, PRs, Comments, and Gists locally

License

Notifications You must be signed in to change notification settings

nobe4/gh-edit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.