Use new commits instead ammend+force push
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 2.1k
- Forks
- 153
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue ne nomme aucun fichier ni test. Suivez d’abord le workflow de l’agent pour commit amendment et force-push ; cela signifie que l’agent crée de nouveaux commits par défaut ou demande le consentement explicite de l’utilisateur avant d’effectuer un force-push.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- git
- Domaine
- desktop, developer-experience
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100