1. Your local changes to the following files would be overwritten by checkout:......Please commit your changes or stash them before you switch branches
*******$ git checkout -b developer origin/developer error: Your local changes to the following files would be overwritten by checkout: ... ... Please commit your changes or stash them before you switch branches. Aborting
解决方法:链接
git stash后重新运行命令
2.