Repository navigation
docs: add optional gitignore step to manual setup - #14671
Conversation
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
|
Preview deployment ✅ Deployment complete!
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thanks, @pruthvi2103! I left a suggestion to move "contain secrets" and to suggest users to complete that list. I think this can be helpful for people new with version control, and this remains short enough.
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thanks again, and welcome to Docs contributors! 🥳
Description (required)
Adds an optional
.gitignorestep to Manual Setup with.astro/,.env,dist/, andnode_modules/to exclude Astro's generated files, installed dependencies, and the local environment file from version control. Clarifies that users should extend this list for any other files they wish to exclude, including additional environment files that can contain secrets. Includes.gitignorein the final project tree.References
Validation
git diff --checkpasses..envfiles section.