Is it possible to download a specific revision/version of file, using Change ID ?
Change Id [generated by commit message hook].
We’ve been using SVN and have recently migrated to GIT, in SVN we used to have an export option, where we could mention the revision id and could download files specific to that revision. I am looking for a similar feature here.
I don't want to download all changes in a branch just one specific file which matches the Change Id I am providing. Can do this in a web interface [gitweb], but want to do it via gitbash, as the intention is to make it part of a script.
Got something like below while i was looking for an answer to this question
git show HEAD~6:./ant-apache.log4j.1.6.5.xml > /c//ant-apache.log4j.1.6.5.xml
or
git show commit_id > C:\TestGit\test.xml
but can I do the same providing a change Id