{"id":18086297,"url":"https://github.com/fespinoza/custom-git-scripts","last_synced_at":"2025-08-25T14:05:07.613Z","repository":{"id":143418019,"uuid":"117591542","full_name":"fespinoza/custom-git-scripts","owner":"fespinoza","description":"A collection of custom git commands to speed up my git workflow","archived":false,"fork":false,"pushed_at":"2023-11-14T11:53:56.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-06T00:43:40.291Z","etag":null,"topics":["git","git-workflow","github"],"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/fespinoza.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":"2018-01-15T20:22:00.000Z","updated_at":"2023-11-14T11:54:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"26c0126d-45e5-42f0-906b-84bdb27c510c","html_url":"https://github.com/fespinoza/custom-git-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fespinoza/custom-git-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2Fcustom-git-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2Fcustom-git-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2Fcustom-git-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2Fcustom-git-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fespinoza","download_url":"https://codeload.github.com/fespinoza/custom-git-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fespinoza%2Fcustom-git-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272077690,"owners_count":24869288,"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-08-25T02:00:12.092Z","response_time":1107,"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":["git","git-workflow","github"],"created_at":"2024-10-31T16:07:32.819Z","updated_at":"2025-08-25T14:05:07.582Z","avatar_url":"https://github.com/fespinoza.png","language":"Ruby","readme":"# Custom Git Scripts\n\nA collection of custom git commands to speed up my git workflow. This add some\nextra useful git commands.\n\n## Installation\n\nFirst download the repo\n\n```\ngit clone https://github.com/fespinoza/custom-git-scripts\n```\n\nThen make sure you add the directory to your `$PATH` in the terminal, for\nexample for zsh, adding to the `.zshrc`\n\n```\nexport PATH=\"\u003cYOUR_CLONED_DIRECTORY\u003e/bin:$PATH\"\n```\n\n## Usage\n\nThe commands added are:\n\n- `git alias`: adds a new global alias\n\n\tExample: `git alias cdbrm 'clean-development-branches master'`\n\n- `git changelog-from-parent`: returns a formatted list of commits of changes\n\tnot present in the parent branch\n\n- `git clean-development-branches`: given a base branch, it will remove all the\n\tbranches that were merged to the base branch. Useful to clean all the branches\n\tof merged pull requests.\n\n\tExample: `git clean-development-branches master`\n\n- `git not-released`: given a `base-ref` and a `current-ref` returns a formatted\n\tlist of pull request merged into `current-ref` that are not present in\n\t`base-ref`. Useful to list all the pull request merged since a tag, etc.\n\n\tExample: `git not-released builds/beta/81 master`\n\n- `git open-in-github`: opens the origin repository in the browser for the\n  public github or the enterprise version.\n\n## Aliases\n\nThe new git commands are supposed to be descriptive, now for convenience you\ncan add some aliases, (with the `git alias` command for example). This are some\nthat i recommend:\n\n```bash\ngit cdbrm # clean development branches from master\ngit cl    # change list from parent branch\ngit clp\t  # change list from parent branch and copy it to clipboard\ngit nr\t  # not released changes\n```\n\nA full list of my personal aliases can be found in [my dotfiles][dotfiles-git]\n\n[dotfiles-git]: https://github.com/fespinoza/dotfiles/blob/master/gitconfig#L7\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffespinoza%2Fcustom-git-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffespinoza%2Fcustom-git-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffespinoza%2Fcustom-git-scripts/lists"}