Use new commits instead ammend+force push
- 主要言語
- 言語のデータがありません
- スター
- 2.1k
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Feature summary
As title suggests
### What problem are you trying to solve?
Please make the agent prefer creating new commits instead of amending+force pushing changes. I noticed that when I ask the agent to remove some code, it consistently remove the code, amend the current commit and force push to the remote repo without additional user consent. Force push is a destructive operation that shouldn't be easily executed like this.
Here is an example of what happened. There is no user interaction between when I submitted the prompt in the screenshot and when the agent force push the amended commit.
### Proposed solution
Make the agent create a new commit instead, or require user consent for executing force push.
### Workflow impact
_No response_
### Installation context
_No response_
### Additional context
_No response_
コントリビューションガイド
調査の方向性
Issue ではファイルもテストも指定されていません。まず、agent の commit amendment と force-push の workflow を追跡してください。完了の条件は、agent がデフォルトで新しい commit を作成するか、force-push の前にユーザーへ明示的な同意を求めることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git
- 領域
- desktop, developer-experience
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100