git切换分支报错
error: pathspec 'develop' did not match any file(s) known to git.
解决办法如下:
plumm@MACY-PC MINGW64 /f/study/spring (master)
$ git checkout develop
error: pathspec 'develop' did not match any file(s) known to git. plumm@MACY-PC MINGW64 /f/study/spring (master)
$ git fetch
From https://github.com/plummoon/spring
* [new branch] develop -> origin/develop plumm@MACY-PC MINGW64 /f/study/spring (master)
$ git checkout develop
M leo.spring.rest/.idea/workspace.xml
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'