Skip to content

Improve .gitignore to cover more generated and trash files - #197

Open
Nihlus wants to merge 1 commit into
kpcyrd:mainfrom
Nihlus:gitignore-updates
Open

Nihlus wants to merge 1 commit into
kpcyrd:mainfrom
Nihlus:gitignore-updates

Conversation

@Nihlus

@Nihlus Nihlus commented Nov 1, 2025

Copy link
Copy Markdown
Contributor

This PR adds a set of broader ignore categories to the .gitignore file, covering a few common cases of trash files (OS-specific files, toolchain-specific files, and IDE-specific files). This reduces the risk of committing useless files to the repo.

@kpcyrd

kpcyrd commented Nov 9, 2025

Copy link
Copy Markdown
Owner

I'd rather keep this minimal, most of them are trivial to spot in code reviews. :)

If you have e.g. a .vscode/ or .idea/ directory you want excluded I think those are mainstream enough to add, also any files that rebuilderd itself may create during development/testing.

@Nihlus

Nihlus commented Nov 11, 2025

Copy link
Copy Markdown
Contributor Author

That's fair - I tend to err on the side of coverage for gitignores, myself, hence this larger one. Let me update it to slim it down.

This excludes anything rebuilderd might create alongside common Rust cruft.
Additionally, .vscode/ and .idea/ are ignored, since those are common editors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants