question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

project: Support .gitignore to exclude directories while searching for stage files

See original GitHub issue

This prevents walking directories like node_modules.

Maybe this is not the way to speed up the stage-file search but it may help. It could be more harmful than helpful, so I open this issue for discussion.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 7, 2019

Need to give it a better thought…

Agree, @efiop , let’s leave this open and see how it goes with .dvcignore

0reactions
efiopcommented, Jul 23, 2019

Seems like .dvcignore does the job. Let’s close this for now, I don’t see any users requesting this specifically. If anyone will request it - please feel free to reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

.gitignore File – How to Ignore Files and Folders in Git
ignored – these are all the files or directories that Git knows to completely exclude, ignore, and not be aware of in the...
Read more >
git - .gitignore exclude folder but include specific subfolder
Git doesn't list excluded directories for performance reasons, so any patterns on contained files have no effect, no matter where they are defined....
Read more >
gitignore examples to ignore files, folder & pattern
The .gitignore file is mainly found in the main folder of a project. Git can not ignore files and folders on your local...
Read more >
.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git history. They can be local, global, or...
Read more >
Exclude files from git without committing changes to .gitignore
My co-worker pointed me to the .git/info/exclude file which, much like a .gitignore file, allows you to ignore files from being staged ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found