mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:18 +00:00
Fix gitignore to not ignore files that are required (#7538)
It is apparently possible to add files to the git index, even if they are part of the gitignore (see e.g. https://stackoverflow.com/questions/45400361/why-is-gitignore-not-ignoring-my-files, even though it's strange that the gitignore entries existed before the files were added, i wouldn't know how to get them added in that case). I ran ``` git rm -r --cached . ``` then change the gitignore not actually ignore those files with the exception of `crates/ruff_cli/resources/test/fixtures/cache_mutable/source.py`, which is actually a generated file.
This commit is contained in:
parent
887455c498
commit
c3774e1255
3 changed files with 11 additions and 12 deletions
14
docs/.gitignore
vendored
14
docs/.gitignore
vendored
|
@ -1,9 +1,5 @@
|
|||
*
|
||||
!assets
|
||||
!configuration.md
|
||||
!editor-integrations.md
|
||||
!faq.md
|
||||
!installation.md
|
||||
!requirements.txt
|
||||
!tutorial.md
|
||||
!usage.md
|
||||
contributing.md
|
||||
index.md
|
||||
rules.md
|
||||
rules/
|
||||
settings.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue