{"id":15477069,"url":"https://github.com/cdce8p/git-custom-commands","last_synced_at":"2026-05-01T15:32:46.421Z","repository":{"id":103517437,"uuid":"421838042","full_name":"cdce8p/git-custom-commands","owner":"cdce8p","description":"Custom git command scripts","archived":false,"fork":false,"pushed_at":"2022-09-12T18:33:57.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T05:24:53.122Z","etag":null,"topics":["git","git-commands"],"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/cdce8p.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":"2021-10-27T13:51:32.000Z","updated_at":"2022-01-08T14:46:28.000Z","dependencies_parsed_at":"2023-03-13T15:07:48.568Z","dependency_job_id":null,"html_url":"https://github.com/cdce8p/git-custom-commands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fgit-custom-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fgit-custom-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fgit-custom-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fgit-custom-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdce8p","download_url":"https://codeload.github.com/cdce8p/git-custom-commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395590,"owners_count":20770243,"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":["git","git-commands"],"created_at":"2024-10-02T03:43:19.026Z","updated_at":"2026-05-01T15:32:41.378Z","avatar_url":"https://github.com/cdce8p.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Git commands\n\n## Requirements\n* Install `github cli`: https://cli.github.com\n* Install [Github Pull Requests and Issues](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github) extension\n* Add `bin` to `PATH`\n\n## Usage\n```bash\n# Checkout PR using github cli\ngh pr checkout 1234\n\n# Add config value for 'github.vscode-pull-request-github' extension\n# Rename branch to 'pr/\u003cauthor\u003e/\u003cpr_number\u003e\ngit vsc\n\n# Both can also be combined\ngit vc 1234\n\n# Remove branch and remote\ngit vsc-delete\n```\n\n## Git config\nSet `push.default = upstream` to target the correct branch when using `git push`.\nhttps://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault\n```bash\ngit push.default upstream\n```\n\n## How to\n- Create new file in `bin`\n- `chmod +x \u003cfile\u003e`\n\n## Helpful Links\n- http://thediscoblog.com/blog/2014/03/29/custom-git-commands-in-3-steps/\n- https://gitbetter.substack.com/p/automate-repetitive-tasks-with-custom\n- https://devhints.io/bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdce8p%2Fgit-custom-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdce8p%2Fgit-custom-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdce8p%2Fgit-custom-commands/lists"}