microsoft / microsoft/vscode-pull-request-github

Stash files when stop working

未关闭
#5,989 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature-request
主要语言
TypeScript
星标
2.6k
派生
795
平均合并
1 天 4 小时
30 天内合并 PR
46

描述

Every time I stop working on an issue, I leave my changes in the created branch. But those changes aren't stashed, as the extension just does a checkout to master.
I would like to stash those changes when I stop working, and then move into default branch.
It could be a toggle setting, so that it isn't the default.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 extension 的停止工作流程,以及 checkout 到默认分支的流程。检查当前如何处理分支切换和设置,然后定义 stash 更改并使其可选的行为。完成标准是:启用该设置时,停止工作会将更改保存在 stash 中并切换分支;否则保留现有行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
developer-experience, tooling
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。