{"id":17280161,"url":"https://github.com/akuli/mkpr","last_synced_at":"2025-06-28T05:36:51.869Z","repository":{"id":213885190,"uuid":"735172893","full_name":"Akuli/mkpr","owner":"Akuli","description":"Bash script to work with GitHub pull request","archived":false,"fork":false,"pushed_at":"2024-08-17T21:57:01.000Z","size":13,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T16:18:02.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Akuli.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}},"created_at":"2023-12-23T23:30:16.000Z","updated_at":"2024-08-17T21:57:04.000Z","dependencies_parsed_at":"2024-08-17T22:51:38.123Z","dependency_job_id":null,"html_url":"https://github.com/Akuli/mkpr","commit_stats":null,"previous_names":["akuli/mkpr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fmkpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fmkpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fmkpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fmkpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akuli","download_url":"https://codeload.github.com/Akuli/mkpr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245678901,"owners_count":20654738,"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","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-10-15T09:19:36.954Z","updated_at":"2025-03-26T15:15:56.560Z","avatar_url":"https://github.com/Akuli.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkpr\n\nThis repo contains a bash script to work with GitHub pull requests.\nOnce installed, you can make a GitHub pull request like this:\n\n```\n$ git checkout -b new-branch-name\n$ git add foo/bar/file.py\n$ git commit -m \"fix foobar bugs\"\n$ mkpr\n```\n\nThis pushes your commit to GitHub and opens a browser window for creating the pull request.\n\nThis script also makes working on other people's pull requests easier.\n[There are commands to do that on stackoverflow](https://stackoverflow.com/a/59704540/5806943),\nbut this script is more convenient.\nYou don't need to add every contributor as a remote, for example.\nHere's how you work on pull request 123, created by someone else to a repository that you maintain:\n\n```\n$ mkpr checkout 123\n\n...\n\n$ git add foo/bar/file.py\n$ git commit -m \"Fix foobar\"\n$ mkpr push 123\n$ git checkout main\n```\n\n\n## Installation\n\nDependencies: (you are on your own if you don't have `apt`)\n\n```\n$ sudo apt install jq curl\n```\n\nCopy or symlink the `mkpr` script to some folder on your `PATH`.\nFor example, if you cloned this repo to your home folder, so that you have a file `~/mkpr/mkpr`,\nyou could add this to your `~/.bashrc`:\n\n```\nexport PATH=\"$PATH:$HOME/mkpr\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakuli%2Fmkpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakuli%2Fmkpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakuli%2Fmkpr/lists"}