Undoing a commit
You've just made an update to the analyze_data function and committed the change in the flight data pipeline project. You want to undo this change, but you want keep both your current changes in your working directory and in your committed changes that are currently in staging.
Questo esercizio fa parte del corso
Advanced Git
Istruzioni dell'esercizio
- Write the git command to move
HEADback one commit usinggit reset. - You must ensure that your current work and commit changes remains unchanged by using a
softreset.
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio