+2
SwitzerBaden 4 years ago 0
When installing node.js and trying to switch to v.04 branch via the command: 
git checkout origin/v0.4
 one may get the following error message: 
error: pathspec 'origin/v0.4' did not match any file(s) known to git
 if so, try frist running
git fetch
 so that the local repository grabs all new info from github. It just takes the information about new branches and no actual code. After that the git checkout should work fine. Bazinga!