{"id":24434028,"url":"https://github.com/itspriddle/gh-prq","last_synced_at":"2025-09-04T06:34:44.207Z","repository":{"id":152880648,"uuid":"615589698","full_name":"itspriddle/gh-prq","owner":"itspriddle","description":"Open GitHub Pull Requests with your $EDITOR","archived":false,"fork":false,"pushed_at":"2025-03-09T06:14:38.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T22:16:52.137Z","etag":null,"topics":["gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itspriddle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-18T04:39:58.000Z","updated_at":"2025-03-09T06:14:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"487ee0c5-808a-42ee-8599-70c263e81b0d","html_url":"https://github.com/itspriddle/gh-prq","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/itspriddle/gh-prq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgh-prq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgh-prq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgh-prq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgh-prq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itspriddle","download_url":"https://codeload.github.com/itspriddle/gh-prq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itspriddle%2Fgh-prq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273566763,"owners_count":25128629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gh-extension"],"created_at":"2025-01-20T16:52:50.988Z","updated_at":"2025-09-04T06:34:44.196Z","avatar_url":"https://github.com/itspriddle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-prq\n\nOpen GitHub Pull Requests with your `$EDITOR` (like `hub pull-request`).\n\n## Installation\n\nFirst, install `gh` from \u003chttps://github.com/cli/cli/releases/latest\u003e (`brew\ninstall gh` on a Mac using Homebrew).\n\nInstall gh-prq via `gh extension install`:\n\n```sh\ngh extension install itspriddle/gh-prq\n```\n\n## Usage\n\nWhen you're ready to submit a new Pull Request:\n\n```sh\ncd project\ngh prq\n```\n\nBehind the scenes, `gh prq` uses `gh pr create --editor -H BRANCH\n--fill-first`. This opens your `$EDITOR` using the contents of the current\nbranch's first commit message as the Pull Request title. If there's a\n`.github/pull_request_template.md` file at the root of the repository, its\ncontents will be added as the `--body` argument, ready to edit in your\n`$EDITOR`.\n\nPass `--copy` to copy the Pull Request URL to your clipboard.\n\nPass `--open` to open the Pull Request in your web browser.\n\nPass `--push` to push your branch upstream first.\n\nConfigure a `git prq` alias:\n\n```sh\ngit config --global --add alias.prq '!gh prq --copy --open --push'\n```\n\n## Editor Examples\n\nBy default, `gh prq` will use the same editor that `gh pr create --editor`\nwould use. `gh`  determines that by checking for one of:\n\n- `gh config editor`\n- `$GIT_EDITOR`\n- `git config core.editor`\n- `$EDITOR`\n\nIf you want to configure one, `gh config set editor \u003ceditor\u003e` is your best\nbet. Run one of the following:\n\nVim:\n\n```sh\ngh config set editor vim\n```\n\nMacVim:\n\n```sh\ngh config set editor mvim\n```\n\nEmacs:\n\n```sh\ngh config set editor emacs\n```\n\nVSCode:\n\n```sh\ngh config set editor \"code --wait\"\n```\n\nSublime Text:\n\n```sh\ngh config set editor \"subl --wait\"\n```\n\n## Bug Reports\n\nIssues can be reported on GitHub:\n\n\u003chttps://github.com/itspriddle/gh-prq/issues\u003e\n\n## License\n\nMIT License - see [`LICENSE`](./LICENSE) in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitspriddle%2Fgh-prq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitspriddle%2Fgh-prq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitspriddle%2Fgh-prq/lists"}