{"id":16183529,"url":"https://github.com/sheerun/git-squash","last_synced_at":"2025-03-25T03:31:00.317Z","repository":{"id":40679419,"uuid":"268499862","full_name":"sheerun/git-squash","owner":"sheerun","description":"Locally squash commits on a branch without resolving any conflicts (a'la squash and merge)","archived":false,"fork":false,"pushed_at":"2023-11-03T12:44:14.000Z","size":15,"stargazers_count":159,"open_issues_count":3,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-19T07:37:48.660Z","etag":null,"topics":["git","github","gitlab","squash-and-merge"],"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/sheerun.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-01T11:13:19.000Z","updated_at":"2025-03-16T05:18:30.000Z","dependencies_parsed_at":"2024-10-29T11:20:43.561Z","dependency_job_id":null,"html_url":"https://github.com/sheerun/git-squash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgit-squash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgit-squash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgit-squash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgit-squash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheerun","download_url":"https://codeload.github.com/sheerun/git-squash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245394538,"owners_count":20608115,"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","github","gitlab","squash-and-merge"],"created_at":"2024-10-10T07:01:37.352Z","updated_at":"2025-03-25T03:31:00.025Z","avatar_url":"https://github.com/sheerun.png","language":"Shell","readme":"\u003cimg align=\"right\" height=\"250\" src=\"https://i.imgur.com/4iAqPLR.jpg\"\u003e\n\n# git squash [![Maintenance](https://img.shields.io/maintenance/yes/2021.svg?maxAge=2592000)]()\n\nLocally squash commits on a branch, without needing to resolve any conflicts 🧈\n\nIt works just like GitHub's \"Squash and merge\" or GitLab's \"Squash commits\".\n\n## Installation\n\nWith [Homebrew](https://brew.sh/) on MacOS and Linux:\n\n```\nbrew install sheerun/git-squash/git-squash\n```\n\nWith `curl` on MacOS and Linux, including Windows Subsystem for Linux:\n\n```\ncurl https://raw.githubusercontent.com/sheerun/git-squash/master/git-squash \u003e /usr/local/bin/git-squash \u0026\u0026 chmod a+x /usr/local/bin/git-squash\n```\n\n## Usage\n\n```sh\n# This tool requires that target branch is mergable to current one\n# The easiest way to ensure it is to merge it and resolve any conflicts\ngit merge master\n# Squash all changes on current branch that happened since master branch\ngit squash master\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheerun%2Fgit-squash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheerun%2Fgit-squash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheerun%2Fgit-squash/lists"}