I have two unrelated repos, A and B. I wish to fetch a specific file from A for a specific commit/hash/tag and copy it into B.
I have both A and B locally, i.e. both a cloned.
Thus far the only method I have is go to A, checkout to the desired commit, go back to B and do a cp path_to_repo_A/file path_to_repo_B/file