{"id":19446027,"url":"https://github.com/nerdgeschoss/pull-request","last_synced_at":"2026-06-19T05:32:43.495Z","repository":{"id":88220103,"uuid":"91481338","full_name":"nerdgeschoss/pull-request","owner":"nerdgeschoss","description":"Automatically create PRs for GitHub Flow","archived":false,"fork":false,"pushed_at":"2025-04-11T15:56:50.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T16:54:00.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/nerdgeschoss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2017-05-16T16:39:52.000Z","updated_at":"2025-04-11T15:55:17.000Z","dependencies_parsed_at":"2025-02-25T08:31:08.127Z","dependency_job_id":null,"html_url":"https://github.com/nerdgeschoss/pull-request","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/nerdgeschoss/pull-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdgeschoss%2Fpull-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdgeschoss%2Fpull-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdgeschoss%2Fpull-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdgeschoss%2Fpull-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdgeschoss","download_url":"https://codeload.github.com/nerdgeschoss/pull-request/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdgeschoss%2Fpull-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34519049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","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":[],"created_at":"2024-11-10T16:12:33.027Z","updated_at":"2026-06-19T05:32:43.488Z","avatar_url":"https://github.com/nerdgeschoss.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pullrequest\n\nAutomatically branch and create an empty pull request, automating an early-review workflow.\n\n## Installation\n\n### Requirements\n\n#### GitHub CLI\n\n[GitHub's CLI](https://cli.github.com//) (aka `gh`) is required. On _macOS_, simply install it through _HomeBrew_.\n\n```bash\nbrew install gh\n```\n\n### Installing pr (pull-request) as part of your application\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pull-request'\n```\n\nAnd then execute:\n\n```bash\nbundle\n```\n\n### Installing pr (pull-request) standalone\n\nInstall it yourself as:\n\n```bash\ngem install pull-request\n```\n\n## Usage\n\n### Create pull request to fix an issue\n\nAssuming an issue #42 entitled `Create Clients Endpoint` exists.\n\n```bash\npr -i 42\n```\n\nCreates a branch `feature/42_create_clients_endpoint` and opens a pull request for issue #42 named `Create clients endpoint`, including `fixes #42` in its description (linking the PR to the issue).\n\n### Create custom pull request\n\n```bash\npr \"Create clients endpoint\"\n```\n\nCreates a branch named `feature/create_clients_endpoint` and open a pull-request named `Create clients endpoint`.\n\nThe quotes are optional, but allow `:` and other characters to be a part of the name (otherwise interpreted by the\nshell).\n\n### Additional options\n\n#### Skip PR creation\n\nUse the `--no-pr` (or `-n`) option to create the branch and push it without creating a pull request:\n\n```bash\npr -n \"Create clients endpoint\"\n```\n\n#### Specify remote\n\nUse the `--remote` (or `-r`) option to specify a different git remote (defaults to 'origin'):\n\n```bash\npr -r upstream \"Create clients endpoint\"\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/Jens Ravens/pullrequest. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Troubleshooting\n\n**No such file or directory**\n \n```\npr -i 210\npr: cannot open 210, No such file or directory\n```\n\n`pr` is already a command on the OS, until we override it with our GEM. If encountering this error it means that the gem has not been installed successfully for this Ruby version.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdgeschoss%2Fpull-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdgeschoss%2Fpull-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdgeschoss%2Fpull-request/lists"}