百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

git-spice

> 开发工具
开源

管理堆叠的 Git 分支

741 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

管理堆叠的 Git 分支

git-spice

简介

git-spice 是一个用于堆叠 Git 分支的工具。 它允许您管理和浏览分支堆栈, 方便地对它们进行修改和重新基准化, 并创建 GitHub、Bitbucket、Gitea 或 Forgejo 的拉取请求 或从他们处合并请求 GitLab。 请参阅 以了解更多详细信息。 使用方式大致如下:

bash
# Stack a branch on top of the current branch.
$ gs branch create feat1

# Stack another branch on top of feat1.
$ gs branch create feat2

# Submit pull requests for feat1 and feat2.
$ gs stack submit

# Pull latest changes from the remote repository
# and delete merged branches.
$ gs repo sync

# Restack branches on top of the latest changes.
$ gs stack restack

或者等价地,使用 CLI 缩写:

bash
$ gs bc feat1  # branch create feat1
$ gs bc feat2  # branch create feat2
$ gs ss        # stack submit
$ gs rs        # repo sync
$ gs sr        # stack restack

特性

  • 创建、编辑和轻松浏览分支堆栈。 - 使用单个命令提交整个堆栈或其部分。 支持 GitHub、GitLab、Bitbucket、Gitea 和 Codeberg 等 Forgejo 主机。 - 继续使用现有的工作流程,逐步采用 git-spice。 - 完全离线运行,无需依赖外部资源,直到您从远程仓库推送或拉取。 - 记住大多数命令的简写。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Godeveloper-toolsgit

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具