Skip to content

Conversation

@rajwanur
Copy link
Collaborator

@rajwanur rajwanur commented Sep 3, 2025

This pull request contains the draft of our new blog post "Understanding Gitignore" that addresses issue #42. The post explains what .gitignore is, how it works, and why it matters in version control.

I have not updated any styles, just the contents. Feel free to update the content or add styles.

Please review and provide feedback on:

  1. Content accuracy
  2. Flow and readability
  3. Completeness in addressing issue Understanding .gitignore #42

Closes #42

@RitaPecuch
Copy link
Collaborator

Hi @rajwanur , really nice job on this! I recommend also calling out that files storing sensitive information (i.e. config.yml, .env) are commonly added to the .gitignore when running code locally that will utilize stored encrypted environmental variables once deployed.

Copy link

@langkabh langkabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good. I think it's complete, accurate and easy to read.


Then add common patterns in .gitignore_global file located at ~/ (home directory) that should be ignored across all projects.

## Important Limitation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I would call it a "limitation". You could also argue it's a "feature" that allows you to prevent a specific file from being ignored if you wish to track it despite instructions in the .gitignore. Or am I getting this wrong?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do agree that this is not a limitation. I have updated this section to call it 'Important Note' and described this as a feature.

@kieranjmartin
Copy link
Collaborator

@rajwanur I am happy to merge this now if you are

@rajwanur
Copy link
Collaborator Author

rajwanur commented Oct 2, 2025

@kieranjmartin I don't have any more changes in mind for this, so feel free to merge whenever you're ready.

@kieranjmartin kieranjmartin merged commit 03c7d1c into main Oct 2, 2025
2 checks passed
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.

Understanding .gitignore

5 participants