Back
The following command will do
$ git show branch:file
Here, branch can be any ref (branch, tag, HEAD, ...) and file is the full path of the file. In order to export it you could use
$ git show branch:file > exported_file
31k questions
32.8k answers
501 comments
693 users