Use new commits instead ammend+force push
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 2.1k
- Forks
- 153
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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_
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- git
- Bereich
- desktop, developer-experience
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100