git branch switching Tip: you need to resolve your current index first

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.
Switch to the master branch matter, suggesting that error: you need to resolve your current index first, meaning that files with conflicts unresolved.
Solution: git reset --merge it.
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/sinat_41747081/article/details/91366517