c++ - Visual Studio and GIT branch switch causes c1xx error for new files -
i have 2 git branches. 1)master branch , 2)dev branch.i work on dev branch , @ end merge master compiled final release build.everything long in dev branch there no new files.if add new class dev branch,when switch master branch , try compile receiving errors this:
error c1083: cannot open source file 'somepath/tosource.cpp': no such file or directory c1xx
it strange because made sure there files not exist physically in master branch.so means vs somehow keeps history of these dev branch?how can clean don't need sync 2 branches every time add new files dev branch?
Comments
Post a Comment