版本控制:git
原因:checkout到master分支失败,根据网络提示执行了git stash命令,导致再切回当前分支,未commit的代码丢失
解决方法:通过idea的Local History 查找
步骤 : 右击工程 - Local History - Show History - 通过左侧的历史轨迹,查找要回复的记录(视个人情况) - revert
ps:在玲姐姐的帮助下,又解锁一个idea的功能
版本控制:git
原因:checkout到master分支失败,根据网络提示执行了git stash命令,导致再切回当前分支,未commit的代码丢失
解决方法:通过idea的Local History 查找
步骤 : 右击工程 - Local History - Show History - 通过左侧的历史轨迹,查找要回复的记录(视个人情况) - revert
ps:在玲姐姐的帮助下,又解锁一个idea的功能