github desktop not obeying gitignore_global
See original GitHub issueDescription
Both GitHub Desktop and GitHub Desktop Beta are not obeying the exclusions from .gitignore_global
Version
- GitHub Desktop: 223
- GitHub Desktop Beta: 1.1.1
- Operating system: OSX 10.13.4
Steps to Reproduce
If you create this file and associate it via git config --global core.excludesfile ~/.gitignore_global
, then add exclusions, and check to see if exclusions are obeyed, they are not.
Expected Behavior
Exclusions from global file should be obeyed
Actual Behavior
They are not
Additional Information
I made sure both my system git and git in the Application resource were configured.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Global .gitignore files are being ignored · Issue #6479 - GitHub
When I open my repository in GitHub Desktop, the globally ignored editor folder will not be listed in the changes tab. Actual Behavior....
Read more >Global gitignore - Discover gists · GitHub
gitignore is considered a poor practice. This file should only exclude files and directories that are a part of the package that should...
Read more >Ignoring files - GitHub Docs
Configuring ignored files for all repositories on your computer · Open TerminalTerminalGit Bash. · Configure Git to use the exclude file ~/.gitignore_global for ......
Read more >Windows/WSL global gitignore not used · Issue #5453 - GitHub
gitignore_global . It seems that GitHub Desktop for Windows is not respecting the rules in this file. Please let me know if I...
Read more >How to fix "gitignore not working" issue - Discover gists · GitHub
Commit all the changes to git. Exclude the folder/files you don't want commit, in my case node_modules · Execute the following command to...
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 FreeTop 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
Top GitHub Comments
ahh, that explains it, totally my fault then, sorry for the waste of time. I think I was confused because pycharm lists it separately in untracked files so I was ignoring them.
yay, this helps me alot as those folders for me had tons of files 😃
@thehesiod thanks for the report. I think there’s enough in here to see if we can reproduce the behaviour on our end.