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

A per project .gitignore file is not the final solution #31

Merged
merged 1 commit into from
Aug 8, 2023
Merged

A per project .gitignore file is not the final solution #31

merged 1 commit into from
Aug 8, 2023

Conversation

szepeviktor
Copy link
Contributor

@szepeviktor szepeviktor commented Aug 7, 2023

These are viktor-invented gitignore categories.

  • OS
  • IDE and local environment
  • Dependencies
  • Application
  • Tests
  • Distribution

Put an end to this problem!
If you add a gitignore file to your user home you will ignore the listed patterns in every project once and for all.

git config --global core.excludesFile ~/.gitignore

Put "OS" and "IDE and local environment" patterns into your global gitignore file,
and rest in the project's gitignore file.
😃

Documentation: https://git-scm.com/docs/gitignore
Reverts d7cb952

@szepeviktor szepeviktor mentioned this pull request Aug 7, 2023
@jaz-on jaz-on merged commit 3e74209 into Weather-Station-Software:master Aug 8, 2023
@szepeviktor szepeviktor deleted the patch-1 branch August 8, 2023 15:47
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