GIT Retrieve and restore

Posted under » Version Control on 03 Sep 2018

After looking at the log.

b7119f2 Continue doing crazy things
872fa7e Try something crazy
a1e8fb5 Make some important changes to hello.txt
435b61d Create hello.txt
9773e52 Initial import

You can retrieve the desired commit by

$ git checkout a1e8fb5

Or if you want to retrieve the specific file

git checkout a1e8fb5 hello.txt

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data