Récupérer une précédente version de fichier.
$ rm file_a.py
$ git checkout file_a.py (1)
1 | Restore file_a.py at its last committed state |
$ git checkout c5f567 -- file1/to/restore file2/to/restore (1)
1 | Restore several files to their state as per commit reference c5f567 |