From 8b2413b84b22f8839eb3775026817c455793b26a Mon Sep 17 00:00:00 2001 From: Joseph Ajibodu Date: Wed, 28 Aug 2024 14:17:06 +0100 Subject: [PATCH] Update .gitattributes and .gitignore for improved package and repo management (#18) * exclude non-essential files and directories from package distribution - Added entries to .gitattributes to exclude: - /examples: Example files - /tests: Test files - .gitattributes: Git-specific configuration - .github: GitHub-related files - .gitignore: Git ignore rules - CHANGELOG-*: Changelog files - CODE_OF_CONDUCT.md: Code of conduct document - CONTRIBUTING.md: Contribution guidelines - UPGRADING.md: Upgrade instructions - RELEASE.md: Release notes * update .gitignore to include additional files and directories - Added .idea/ and .idea: Exclude JetBrains IDE configuration directories - Added composer.lock: Exclude Composer lock file (if needed) - Added .fleet: Exclude Fleet IDE configuration (if applicable) - Added .vscode: Exclude Visual Studio Code configuration directory --------- Co-authored-by: Jamie Barton --- .gitattributes | 10 ++++++++++ .gitignore | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8bac802 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +/examples export-ignore +/tests export-ignore +.gitattributes export-ignore +.github export-ignore +.gitignore export-ignore +CHANGELOG-* export-ignore +CODE_OF_CONDUCT.md export-ignore +CONTRIBUTING.md export-ignore +UPGRADING.md export-ignore +RELEASE.md export-ignore \ No newline at end of file diff --git a/.gitignore b/.gitignore index e71bba6..2a34e73 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ vendor .DS_Store +.idea/ composer.lock +.idea +.fleet +.vscode