I need the source code from a specific version of a project (The SonarQube project), but I can't figure out how to pull it from git.
I've added the repo as a remote (git add remote origin
) and pulled the latest version from the master branch, but that is not the version I need.
I know the commit I need is d25bc0e
, but when I try "git fetch origin master d25bc0e
" I get the error "fatal: couldn't find remote ref d25bc0e
".
It could be I'm doing something very wrong, I am not very experienced with Git.