[Discussion] Should pubspec.lock
be continued to be tracked?
#201
Labels
pubspec.lock
be continued to be tracked?
#201
I remember we removed
pubspec.lock
from exercises, But I see that the repo-levelpubspec.lock
is still being tracked. I generally prefer not tracking generated files because they introduce unnecessary noise ingit diff
s.If there is use case I don't know about, please do tell. Otherwise we should stop tracking it.
Edit: Tracking
pubspec.lock
also distrupts the branching flow. A contributor might be working or reviewing multiple branches, due to the nature of howpubspec.lock
is kept in sync with thepubspec.yaml
, difference inpubspec.lock
's timestamp between branches requires runningpub get
again, which updates thepubspec.lock
timestamp. So switching branches generally requires resetting thepubspec.lock
The text was updated successfully, but these errors were encountered: