Support
Support copied to clipboard
`.gitignore` file is not used properly
Gitfiend shows lots of unstaged files from a node_modules folder even if it is excluded in the .gitignore folder.
GitFiend doesn't have its own Git or gitignore implementation. It uses your system Git to determine what files are changed/visible. If you are seeing ignored files it's most likely you committed them. In changes view if you right-click a file, there's an option to remove it from Git tracking. In the case that a git status isn't showing the files and GitFiend is, then that would signify a bug, but I would need more info.
Thanks for the quick reply. git status does not show the files as unstaged. But Gitfiend does. So I guess it's a bug somewhere.
How can I provide more information? What do you need?
GitFiend runs this command first to check for changes: git status --porcelain -uall -z. Does this print what you expect?
You could then try opening the devtool tools (menu -> view -> toggle developer tools) and check the network tab. There should be a request in there called "load_wip_patches". This request should return the same file names as the above git command. Do these match?