你的合并合并了你的本地 master 分支 进入之内 你当地的工作部门( branch2 )由于没有冲突,这条线路的历史可能如下:
master
branch2
| * (master) // test 99 |\ | * (branch2) // test 99 * | (master) // test 00 |\| | * (branch2) // test 00
意思是当前分支上的文件应该包含 // test 00 .
// test 00
这似乎是你的问题,但是 grep '// test' <the file> 会回答你的问题…
grep '// test' <the file>
当您在新系统上签出回购协议时,将运行
npm install
把所有的 node_modules 与项目关联。确保你的 package-lock.json 已签入Git,因此您将保证获取与提交中预期的完全相同的版本。
node_modules
package-lock.json