Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .gitignore best practices #416

Open
chuckwondo opened this issue Jul 12, 2024 · 0 comments
Open

Add .gitignore best practices #416

chuckwondo opened this issue Jul 12, 2024 · 0 comments

Comments

@chuckwondo
Copy link

To help reduce the chances of users committing files that should not be committed, add a section regarding .gitignore best practices (or perhaps more generally, Git Best Practices), where we recommend that when creating a new repo, a .gitignore files should be initialized (or even extended in existing repos) by using the following commands to add recommended patterns to ignore:

curl -sL https://www.toptal.com/developers/gitignore/api/r >> .gitignore
curl -sL https://www.toptal.com/developers/gitignore/api/python >> .gitignore
curl -sL https://www.toptal.com/developers/gitignore/api/jupyternotebooks >> .gitignore
curl -sL https://www.toptal.com/developers/gitignore/api/linux >> .gitignore
curl -sL https://www.toptal.com/developers/gitignore/api/macos >> .gitignore
curl -sL https://www.toptal.com/developers/gitignore/api/windows >> .gitignore
curl -sL https://www.toptal.com/developers/gitignore/api/vim >> .gitignore
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

No branches or pull requests

1 participant