Skip files listed in .gitignore
See original GitHub issueI ran ssort
at the root of my project and it started sorting the files in my venv
directory. (incidentally, this threw on venv/lib/python3.10/site-packages/blib2to3/pgen2/parse.py
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Make .gitignore ignore everything except a few files
After reading the gitignore documentation (here) i found out that if you exclude a folder first that the filenames in the subfolder are...
Read more >gitignore Documentation - Git
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below...
Read more >.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 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 >Git: Ignore Files with .gitignore - Stack Abuse
Committing Ignored Files · Tell Git to not ignore this file by prefixing the file name with a ! in .gitignore, i.e. !.env...
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
Released as part of 0.11.3. Thank you @jgberry
Let’s not go full npm, but I have no problem with pulling in pathspec. I would expect that 100% of people who install ssort will also install black, which means that if pathspec’s developer decides to start using it to mine bitcoin then the battle is already lost.