{"id":13722075,"url":"https://github.com/abhinav/git-spice","last_synced_at":"2026-01-07T05:18:40.571Z","repository":{"id":249587734,"uuid":"660623402","full_name":"abhinav/git-spice","owner":"abhinav","description":"Manage stacked Git branches","archived":false,"fork":false,"pushed_at":"2026-01-07T03:25:37.000Z","size":4016,"stargazers_count":524,"open_issues_count":42,"forks_count":45,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-01-07T03:39:00.351Z","etag":null,"topics":["developer-tools","git"],"latest_commit_sha":null,"homepage":"https://abhinav.github.io/git-spice/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhinav.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"abhinav"}},"created_at":"2023-06-30T12:35:55.000Z","updated_at":"2026-01-07T03:25:17.000Z","dependencies_parsed_at":"2024-11-09T03:21:43.448Z","dependency_job_id":"f2dc0ef2-46cb-4a54-a0e4-f90b22a3425c","html_url":"https://github.com/abhinav/git-spice","commit_stats":{"total_commits":472,"total_committers":10,"mean_commits":47.2,"dds":"0.10381355932203384","last_synced_commit":"ca779160a4acc7e542ef107498baf025ab88cf9f"},"previous_names":["abhinav/git-spice"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/abhinav/git-spice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav%2Fgit-spice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav%2Fgit-spice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav%2Fgit-spice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav%2Fgit-spice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhinav","download_url":"https://codeload.github.com/abhinav/git-spice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav%2Fgit-spice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28232817,"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":"2026-01-07T02:00:05.975Z","response_time":58,"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":["developer-tools","git"],"created_at":"2024-08-03T01:01:24.343Z","updated_at":"2026-01-07T05:18:40.545Z","avatar_url":"https://github.com/abhinav.png","language":"Go","funding_links":["https://github.com/sponsors/abhinav"],"categories":["Go"],"sub_categories":[],"readme":"# git-spice\n\n## Introduction\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"doc/src/img/logo.png\" width=\"300\"/\u003e\n\u003c/div\u003e\n\n[![CI](https://github.com/abhinav/git-spice/actions/workflows/ci.yml/badge.svg)](https://github.com/abhinav/git-spice/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/abhinav/git-spice/graph/badge.svg?token=FE4S370I4A)](https://codecov.io/gh/abhinav/git-spice)\n\n\u003c/div\u003e\n\ngit-spice is a tool for stacking Git branches.\nIt lets you manage and navigate stacks of branches,\nconveniently modify and rebase them,\nand create GitHub Pull Requests or GitLab Merge Requests from them.\n\nSee \u003chttps://abhinav.github.io/git-spice/\u003e for more details.\n\nUsage looks roughly like this:\n\n```shell\n# Stack a branch on top of the current branch.\n$ gs branch create feat1\n\n# Stack another branch on top of feat1.\n$ gs branch create feat2\n\n# Submit pull requests for feat1 and feat2.\n$ gs stack submit\n\n# Pull latest changes from the remote repository\n# and delete merged branches.\n$ gs repo sync\n\n# Restack branches on top of the latest changes.\n$ gs stack restack\n```\n\nOr equivalently, using [CLI shorthands](https://abhinav.github.io/git-spice/cli/shorthand/):\n\n```shell\n$ gs bc feat1  # branch create feat1\n$ gs bc feat2  # branch create feat2\n$ gs ss        # stack submit\n$ gs rs        # repo sync\n$ gs sr        # stack restack\n```\n\n## Features\n\n- Create, edit, and navigate stacks of branches with ease.\n- Submit the entire stack or parts of it with a single command.\n  Supports GitHub and GitLab.\n- Keep using your existing workflow and adopt git-spice incrementally.\n- Completely offline operation with no external dependencies\n  until you push or pull from a remote repository.\n- Easy-to-remember shorthands for most commands.\n\n## Documentation\n\nSee \u003chttps://abhinav.github.io/git-spice/\u003e for the full documentation.\n\n## License\n\nThis software is distributed under the GPL-3.0 License:\n\n```\ngit-spice: Stacked Pull Requests\nCopyright (C) 2024 Abhinav Gupta\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n\nSee LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinav%2Fgit-spice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhinav%2Fgit-spice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinav%2Fgit-spice/lists"}