diff --git a/.gitattributes b/.gitattributes index f798a86d..a1c46df9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,41 +17,3 @@ /.github/ export-ignore CHANGELOG.md export-ignore .editorconfig export-ignore - -# Git LFS Configuration for handling large binary files - -# Images -*.jpg filter=lfs diff=lfs merge=lfs -text -*.jpeg filter=lfs diff=lfs merge=lfs -text -*.png filter=lfs diff=lfs merge=lfs -text -*.gif filter=lfs diff=lfs merge=lfs -text -*.ico filter=lfs diff=lfs merge=lfs -text -*.tiff filter=lfs diff=lfs merge=lfs -text -*.webp filter=lfs diff=lfs merge=lfs -text - -# Videos -*.mp4 filter=lfs diff=lfs merge=lfs -text -*.mov filter=lfs diff=lfs merge=lfs -text -*.mkv filter=lfs diff=lfs merge=lfs -text -*.webm filter=lfs diff=lfs merge=lfs -text - -# Fonts -*.woff2 filter=lfs diff=lfs merge=lfs -text -*.woff filter=lfs diff=lfs merge=lfs -text -*.ttf filter=lfs diff=lfs merge=lfs -text -*.otf filter=lfs diff=lfs merge=lfs -text - -# Documents -*.pdf filter=lfs diff=lfs merge=lfs -text -*.doc filter=lfs diff=lfs merge=lfs -text -*.docx filter=lfs diff=lfs merge=lfs -text -*.ppt filter=lfs diff=lfs merge=lfs -text -*.pptx filter=lfs diff=lfs merge=lfs -text -*.xlsx filter=lfs diff=lfs merge=lfs -text - -# Archives -*.7z filter=lfs diff=lfs merge=lfs -text -*.br filter=lfs diff=lfs merge=lfs -text -*.gz filter=lfs diff=lfs merge=lfs -text -*.tar filter=lfs diff=lfs merge=lfs -text -*.zip filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 7930b529..163f1465 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ To run this project, ensure your local environment meets the following requireme - **PHP**: Version 8.3 or higher, for compatibility with the latest features and security updates. - **Composer**: Version 2.0 or higher, to manage PHP dependencies effectively. - **Node.js** and **NPM**: Latest stable versions, to handle frontend dependencies and build processes. -- **Git LFS**: [Git Large File Storage](https://git-lfs.github.com/) must be installed to handle large media and asset files efficiently. Make sure all dependencies are installed and properly configured before proceeding with the setup. This ensures a smooth development and deployment process. diff --git a/composer.json b/composer.json index c3493806..73326cb4 100644 --- a/composer.json +++ b/composer.json @@ -24,10 +24,6 @@ "@php artisan statamic:install --ansi" ], "post-install-cmd": [ - "@php -r \"copy('fixtures/git-hooks/post-checkout', '.git/hooks/post-checkout');\"", - "@php -r \"copy('fixtures/git-hooks/post-commit', '.git/hooks/post-commit');\"", - "@php -r \"copy('fixtures/git-hooks/post-merge', '.git/hooks/post-merge');\"", - "@php -r \"copy('fixtures/git-hooks/pre-push', '.git/hooks/pre-push');\"", "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-update-cmd": [ diff --git a/fixtures/git-hooks/post-checkout b/fixtures/git-hooks/post-checkout deleted file mode 100755 index de1a2b63..00000000 --- a/fixtures/git-hooks/post-checkout +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Git LFS -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } -git lfs post-checkout "$@" \ No newline at end of file diff --git a/fixtures/git-hooks/post-commit b/fixtures/git-hooks/post-commit deleted file mode 100755 index 6ef0ff1e..00000000 --- a/fixtures/git-hooks/post-commit +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Git LFS -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } -git lfs post-commit "$@" \ No newline at end of file diff --git a/fixtures/git-hooks/post-merge b/fixtures/git-hooks/post-merge deleted file mode 100755 index ea54b5c8..00000000 --- a/fixtures/git-hooks/post-merge +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Git LFS -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } -git lfs post-merge "$@" \ No newline at end of file diff --git a/fixtures/git-hooks/pre-push b/fixtures/git-hooks/pre-push deleted file mode 100755 index 431dfea5..00000000 --- a/fixtures/git-hooks/pre-push +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Git LFS -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; } -git lfs pre-push "$@" \ No newline at end of file