--- blogpost: true language: en date: 2023-02-15 tags: til author: felix --- # TIL: git restore https://stackoverflow.com/questions/1463340/how-can-i-revert-multiple-git-commits by "meh" Given ``` A <- B <- C <- D <- HEAD ``` Go to back to A with ``` git restore --source A ./ ``` Huh.