Skip to content

feat: 关于流程自动提交代码的优化建议 #68

@lbhfuture

Description

@lbhfuture

🔎 Existing issue check

  • I have searched the existing issues.

🧭 Problem

非常感谢大佬的这个项目,目前用了几天,体验非常不错,就是关于流程自动提交代码有几个建议。

  1. 现阶段 build 结束后,会自动 commit 本地代码,这个在代码改动较多想本地 review 的时候体验非常不好。建议像前面选择工作区一样提问让用户选择自动提交还是手动提交,然后倒计时结束后默认选择手动提交(这个默认提交方式可以考虑在 init 的时候让用户自己选择)。
  2. 流程提交代码的时候会分多次 commit 多个小的代码改动,比如 Java 项目里改动一个枚举类 commit、改动一个 model 也 commit 一次,这种 commit 提交方式会使 Git 提交记录变得很杂乱,也不利于后续代码历史记录的维护。建议合并成完整的一个 commit(这个我感觉也有可能是第 1 点的自动提交代码造成的)。

✨ Proposed solution

如问题描述。

🎯 Primary area

Skill workflow

🪐 Workflow phase

Build

🔀 Alternatives considered

No response

🧰 Compatibility notes

No response

🧩 Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions