我直接用git pull的时候遇到这个错误: error: Your local changes to the following files would be overwritten by merge: protected/config/main.phpPlease, commit your changes or stash them before you can merge. 希望用代码库中的文件完全覆盖本地工作版本. 方法如下 git reset --hard git pul…
github代码仓库提示:“We found a potential security vulnerability in one of your dependencies” 问题描述: Github上传代码后出现这样的错误:We found a potential security vulnerability in one of your dependencies.A dependency defined in ./package-lock.json has known security vul…