In git, I'm trying to check out versions of a specific repository into a version folder inside of a temp folder, but when I do
git checkout master~X C:/file/path/temp/versionX
I get the error
error: pathspec 'temp/versionX' did not match any file(s) known to git.
What's causing the problem and how do I fix it?
master~X
is the old revision containing the file(s) you want, and thatC:/file/path/temp/versionX
is where you want to place the old file(s). Two bits of information are missing: Which old file(s) (relative to the root of the Git repository) do you want? What is the path to your Git repository?