Giter VIP home page Giter VIP logo

Comments (6)

vikas-shrma avatar vikas-shrma commented on May 26, 2024

We need to follow some steps before going forward. because if git tracked any file after that he can't ignore that file

  1. Delete pubspec.lock fle from the master and dev branch
  2. And then again take fresh pull from git and start working normally as we are currently doing
  3. or if that file found tracked or modified we have to run this command git update-index --assume-unchanged pubspec.lock

from anxietygo.

markhallak avatar markhallak commented on May 26, 2024

If we delete the "pubspec.lock" file from both branches, it will still be generated locally. Right?

from anxietygo.

vikas-shrma avatar vikas-shrma commented on May 26, 2024

yes. its auto process by flutter framework based on pubspec.yaml file

from anxietygo.

markhallak avatar markhallak commented on May 26, 2024

Understood.

So I am going to delete the file from both branches and whoever is going to work on the project has to do a new pull from git and then start working normally. That should fix it, right?

from anxietygo.

vikas-shrma avatar vikas-shrma commented on May 26, 2024

Right that is one way
Another one is everyone update their gitignore file with pubspec.lock and run that command i commented in above comment
And then nobody push that file to github
And on the other side you deleted that file from both branches

from anxietygo.

markhallak avatar markhallak commented on May 26, 2024

Understood. Thanks!

from anxietygo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.