howto switch back and forth between "src/examples" being a git submodule
key idea: always delete src/examples prior to any checkout or merge operation!
stop webpack
go into src directory:
cd $SMC_ROOTcheck these assumptions
you're on the master branch and in sync with upstream
origin is the name of the remote github repo (otherwise, you might call it upstream? then rename origin below to upstream)
git statusis clean
switch to the examples-update branch
(optional) in case you want to merge with origin/master again
start webpack again
when done and going back to master:
stop webpack
rm -rf examplesgit checkout master← will restore src/examples as a normal directory