git config branch.master.merge refs/heads/masterhtml
git pull origin master git show :package.json From http://192.168.138.99/newepoch2/webAdmin-web * branch master -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: build/build.js build/webpack.base.conf.js build/webpack.dev.conf.js config/dev.env.js config/index.js config/prod.env.js package-lock.json package.json src/main.js src/pages/sys/project.vue src/pages/sys/projectEdit.vue src/router/index.js src/utils/http.js test/e2e/custom-assertions/elementCount.js test/e2e/nightwatch.conf.js test/e2e/runner.js Please, commit your changes or stash them before you can merge. Aborting
其實我並無對這些files作過代碼層面的改動,而是修改過項目文件夾的讀寫權限(虛擬機中開發,讓非root用戶可以開發),用了chmod命令後,vscode中會顯示全部文件都已經被改動過,實際上在代碼層面並無作過任何變更。vue
以前一直都沒什麼衝突,切換了git remote倉庫及分支後,就有了衝突,不能再pull、push了。java
再pull、push就能夠了。webpack