{"id":20438171,"url":"https://github.com/kiprasmel/git-rebase-diff","last_synced_at":"2025-04-12T22:31:40.476Z","repository":{"id":97544386,"uuid":"527686151","full_name":"kiprasmel/git-rebase-diff","owner":"kiprasmel","description":"git range-diff, but works automatically after a rebase.","archived":false,"fork":false,"pushed_at":"2024-03-19T21:16:21.000Z","size":22,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T16:38:51.095Z","etag":null,"topics":["git","range-diff","rebase","sanity-check"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiprasmel.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-08-22T18:28:05.000Z","updated_at":"2024-08-14T16:52:17.000Z","dependencies_parsed_at":"2024-03-19T22:37:25.077Z","dependency_job_id":null,"html_url":"https://github.com/kiprasmel/git-rebase-diff","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/kiprasmel%2Fgit-rebase-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiprasmel%2Fgit-rebase-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiprasmel%2Fgit-rebase-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiprasmel%2Fgit-rebase-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiprasmel","download_url":"https://codeload.github.com/kiprasmel/git-rebase-diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248640095,"owners_count":21137978,"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","range-diff","rebase","sanity-check"],"created_at":"2024-11-15T09:09:41.938Z","updated_at":"2025-04-12T22:31:40.454Z","avatar_url":"https://github.com/kiprasmel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"git-rebase-diff\n===============\n\na tiny wrapper around git range-diff,\nto make it easy to use after performing a rebase.\n\nesp useful if encountered merge conflicts\n\u0026 want to verify that nothing screwed up.\nsee also: https://github.com/kiprasmel/git-diff3c\n\nsetup\n-----\n\n```\ngit clone https://github.com/kiprasmel/git-rebase-diff.git\n# or:  git clone git@github.com:kiprasmel/git-rebase-diff.git\n\ncd git-rebase-diff\n\ncp git-rebase-diff /usr/local/bin/\n\ngit config --global init.defaultBranch=master # or whatever branch you use as default\n```\n\nusage\n-----\n\nexpects that you:\n- are checked out in the branch you rebased.\n- have *not* pushed the branch to the remote yet.\n\n```\ngit-rebase-diff\ngit-rebase-diff [-r|--remote origin] [-p|--parent-branch master] [-d|--debug]\ngit-rebase-diff [-r|--remote origin] [-p|--parent-branch master] [-d|--debug] -- [range-diff args]...\n```\n\n\nenvironment variables\n---------------------\n\nconfigure the defaults via:\n\n- GIT_REBASE_DIFF_DEFAULT_REMOTE\n- GIT_REBASE_DIFF_DEFAULT_PARENT\n\n\ngit config\n----------\n\nrespects:\n\n- init.defaultBranch\n\n\nsee also\n--------\n\n- man git-range-diff\n- https://github.com/kiprasmel/git-diff3c\n\n---\n\nupdate\n------\n\ni've been experimenting with revision syntax.\nthere's some work in the `experiment' branch; not ready yet.\nin the meantime, one can try:\n\n- git range-diff @{1}...\n  - to get the range diff of HEAD vs last version of HEAD\n  - use `@{n}' to get HEAD vs `n'th-previous version of HEAD\n\n- git range-diff @{u}...\n  - to get the range diff of HEAD vs remote HEAD\n  - use `@{u}@{n}' to get HEAD vs `n'th-previous version of remote HEAD\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiprasmel%2Fgit-rebase-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiprasmel%2Fgit-rebase-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiprasmel%2Fgit-rebase-diff/lists"}