Skip to main content
  1. Learn
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Bases de Git
  6. Annulation de modifications
  7. Modes de réinitialisation
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Modes de réinitialisation

Il existe trois principaux modes de réinitialisation:

  • Le mode Mixed (par défaut) restaure l’état d’un index modifié.
  • Le mode Soft annule un commit précédent.
  • Le mode Hard supprime toutes les traces d’un commit.

Voici une description rapide de chaque mode de réinitialisation.

Diagram showcasing reset modes.
Il existe trois modes de réinitialisation: soft, mixed et hard.

Smarter teamwork, delivered

Get practical advice, workflow guides, and proven strategies to help your team adopt tools fast and stay organized.