is it possible to avoid the pubspc.lock file conflct when put it into git version control

I am writing a flutter app, the pubspec.lock file always been conflict after I checked into this file to git version control. I already searching from the web that told me it is better to put the pubspec.lock file to version control. In Dart and Pub, should I add pubspec.lock to my .gitignore?

is it possible to avoid the pubspec.lock file conflict? I am delete the pubspec.lock file and regenerate it right now because I did not know how to merge the lock file. how about add the pubspec.lock to .gitigore? I hate to put this file to version control.



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation