{"id":19855669,"url":"https://github.com/smasher164/git-fixup","last_synced_at":"2026-05-10T22:34:33.660Z","repository":{"id":104710004,"uuid":"273855579","full_name":"smasher164/git-fixup","owner":"smasher164","description":"squash last N commits non-interactively","archived":false,"fork":false,"pushed_at":"2020-06-21T08:10:21.000Z","size":2,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T15:59:33.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/smasher164.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":"2020-06-21T07:25:05.000Z","updated_at":"2024-05-29T07:38:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa5fe293-9b72-456f-ac69-df0fc711faf7","html_url":"https://github.com/smasher164/git-fixup","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/smasher164%2Fgit-fixup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smasher164%2Fgit-fixup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smasher164%2Fgit-fixup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smasher164%2Fgit-fixup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smasher164","download_url":"https://codeload.github.com/smasher164/git-fixup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241245608,"owners_count":19933296,"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-11-12T14:13:24.415Z","updated_at":"2026-05-10T22:34:33.615Z","avatar_url":"https://github.com/smasher164.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-fixup\n\n```\n$ go get -u akhil.cc/git-fixup\n\nusage:\n\tgit-fixup [--root] [HEAD~N]\n\tgit-fixup edit filename\n```\nSquash the last N commits of the current branch into a single commit. This\ntool automatically performs an interactive rebase for you with either\n`HEAD~N`, to specify the last N commits, or `--root` to go to the initial\ncommit. For instance, if `git fixup HEAD~3` is specified, it automatically\napplies the following:\n```\nreword AAAAAAA Message\nfixup  BBBBBBB Message\nfixup  CCCCCCC Message\n```\nThis gives you a chance to reword the oldest of the N commits.\n\n`git-fixup edit` is the entrypoint for the `GIT_SEQUENCE_EDITOR` that applies\nedits to the interactive rebase on your behalf.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmasher164%2Fgit-fixup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmasher164%2Fgit-fixup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmasher164%2Fgit-fixup/lists"}