Use new commits instead ammend+force push
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.1k
- Fork
- 153
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 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_
Hướng dẫn đóng góp
Hướng nghiên cứu
The issue names no files or tests. Trace the agent's commit amendment and force-push workflow first; done means the agent creates new commits by default or requests explicit user consent before force-pushing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- git
- Lĩnh vực
- desktop, developer-experience
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100