[英]How do I fix merge conflic in pubspec.yaml and pubspec.lock?
I stashed the recent change I have on my local machine, and then pull from the remote repository.我将最近的更改存储在本地计算机上,然后从远程存储库中提取。 Along the way, I encounted the below error.一路上,我遇到了以下错误。 How can I merge my stash and also fix git conflict?如何合并我的存储并修复 git 冲突?
Auto-merging pubspec.yaml
CONFLICT (content): Merge conflict in pubspec.yaml
Auto-merging pubspec.lock
CONFLICT (content): Merge conflict in pubspec.lock
The stash entry is kept in case you need it again.
You need to open those two files and the conflicts will be shown to you.您需要打开这两个文件,冲突将显示给您。 Once you resolve them you can commit them and you will now have successfully merged.一旦你解决了它们,你就可以提交它们,你现在已经成功合并了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.