Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Recover File from Previous Commit

Recover the file abc.py from a previous commit.



$ git rev-list -n 1 HEAD -- abc.py
d6be5838101f3bc86f01d3a8379063b34a95a71f
$ git checkout d6be5838101f3bc86f01d3a8379063b34a95a71f^ -- abc.py


Copyright © 1995-2019 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.