Skip to content
Français
Account: not signed in, sync available My learning
Select theme
Français

Skill · Git · Repair and investigate the history

Repair and rewrite history

Fix a history: a message or forgotten file with amend, a commit on the wrong branch, undoing with reset or revert, and recovering lost work.

Start lesson 1The Git domain

The path

Where it comes from, where it leads

What you need to know first, where you stand on this skill, and what it opens next. Your status is computed in your browser, from what you have read and passed.

Before · 1 prerequisite

This skill, for you

Repair and rewrite history

Computing

It unlocks · nothing yet

No other skill requires it: it is an end-of-path skill.

Lessons

How to learn it

12 lessons, about ~5 h 10, in program order. Each lesson ends with its quiz.

The program

12 lessons · ~5 h 10

Part 1 · Rattraper un commit parti trop vite (in French) 4 lessons · ~1 h 20

  1. 1Panorama des pannes courantes (in French)· 10 min
  2. 2Corriger des commits (in French)· 10 min
  3. 3Annuler et corriger des commits (in French)· 30 min
  4. 4Commit sur la mauvaise branche (in French)· 30 min

Part 2 · Récupérer, nettoyer et diagnostiquer (in French) 4 lessons · ~1 h 50

  1. 5Récupérer, nettoyer et diagnostiquer (in French)· 10 min
  2. 6Nettoyer l'historique et les fichiers (in French)· 40 min
  3. 7Récupérer des données perdues (in French)· 30 min
  4. 8Diagnostiquer des problèmes (in French)· 30 min

Part 3 · Réécrire et corriger l'historique (in French) 4 lessons · ~2 h 00

  1. 9Réécrire et corriger l'historique (in French)· 10 min
  2. 10Réécrire l'historique (in French)· 45 min
  3. 11Reset démystifié (in French)· 35 min
  4. 12Merge avancé (in French)· 30 min

Beyond the lessons

Assess, practise, pass the proof

Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.

Assess yourself

8 quizzes

At the end of the lessons: passed at 70%, they confirm the skill.

Practice

No guided lab

No guided lab practices it yet.

Proof

No proof

Neither a challenge nor a mission with a proof yet.

Around it

Who requires it, who teaches it

Required by

Taught by

Same block · Repair and investigate the history

Is this project useful to you?

The guides, courses, quizzes and labs stay free. If you use them regularly, you can contribute to their upkeep and development.

Become a supporting member (new tab) One-time support (new tab) Learn more

Follow the project on LinkedIn