project: Support .gitignore to exclude directories while searching for stage files
See original GitHub issueThis 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:
- Created 5 years ago
- Reactions:4
- Comments:9 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Agree, @efiop , let’s leave this open and see how it goes with
.dvcignore
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.