✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Let's say we have the following git history:
* abc123 (HEAD) Commit message for the oldest commit
* def456 Commit message for second-to-last commit
* xyz789 Commit message for third-to-last commit
What command should we first run to remove the commit with the hash xyz789?