My Notes

Checkout An Old Version In A New File

git

Checkout an older version of a file into a new file.


#git show SHA:CURRENT_PATH > OUTPUT_PATH 

>git show 61f4148:app/views/current.html.erb > app/views/old_version.html.erb

Source