Giter VIP home page Giter VIP logo

Comments (4)

davvid avatar davvid commented on May 26, 2024 1

I suspect that your files are already tracked. Are you seeing this in a public repository you can share?

Run git ls-files

Do you see the "ignored" files listed in the output?

If you see the filenames listed there then they're not candidates for being ignored until you remove/untrack them from git.

You can use the View -> File Browser tool as well. From there you can right-click and "Untrack Selected" to remove them from git.

I'm making a wild guess that you're basically running into a symptom of this: https://upokary.com/file-added-in-gitignore-but-still-shows-up-on-git-status-why/

from git-cola.

davvid avatar davvid commented on May 26, 2024

This is a bug and will be fixed pre-v1.4.0...
perhaps later tonight!

I think we just forgot to pass --exclude-standard to git-ls-files.

Thanks for catching it. I think I ran into a similar issue myself wondering why it was taking so long to view a certain repo and then noticed all of the untracked files.

Thanks for the report.

from git-cola.

davvid avatar davvid commented on May 26, 2024

models.main: Honor .gitignore

We forgot to pass --exclude-standard to git-ls-files.
An untracked_files() method was added and update_status() was
updated to use it.

Closed by c5b5519

Signed-off-by: David Aguilar [email protected]

from git-cola.

ArchakGoel avatar ArchakGoel commented on May 26, 2024

Hi,

I am using the latest 3.12.0 version of git-cola and its still not ignoring files mentioned in .gitignore. The same .gitignore in the same repo was working fine with other version control software.
Any workarounds to it @davvid ?
Thanks

from git-cola.

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.