Ignore folders
See original GitHub issueI recently created a git repository from a pre-existing projects and realized that we have no way of ignoring folders.
In this scenario I’d like to see the Ignore
menu item become a submenu with this hierarchy
+--------------------+
| Discard changes... | +----------------------------+
| Ignore +-> node_modules |
+--------------------- | node_modules/.bin |
| node_modules/.bin/electron |
+----------------------------+
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:9 (6 by maintainers)
Top Results From Across the Web
.gitignore File – How to Ignore Files and Folders in Git
Inside .gitignore , you can tell Git to ignore only a single file or a single folder by mentioning the name or pattern...
Read more >Ignoring directories in Git repositories on Windows
Create a file named .gitignore in your project's directory. Ignore directories by entering the directory name into the file (with a slash appended):...
Read more >Ignoring Files and Directories in Git (.gitignore) - Linuxize
The .gitignore file allows you to exclude files from being checked into the repository. It contains globbing patterns that describe which ...
Read more >gitignore Documentation - Git
gitignore - Specifies intentionally untracked files to ignore ... Git doesn't list excluded directories for performance reasons, so any patterns on ...
Read more >How to Ignore Git Folders and Directories .gitignore - YouTube
Here's a quick overview of how to use the .gitignore file to ignore Git folders and directories.There's no big trick to ignoring folder...
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
oh, this would be so nice to have. What are your thoughts on either making the file itself the top choice and list all the parent folders below?
Alternatively, we could have an “Ignore file” option and then have the folders in an “Ignore directory…” menu, which I’m leaning towards.
There are a couple of other things to consider like the ordering of the folders (should it be descending or ascending) and how the experience could be less than ideal once we hit a certain number of nested folders.
Requested in https://github.com/desktop/desktop/issues/13619.