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

Panthoen Commit Error #12

Open
matbrady opened this issue Nov 4, 2024 · 1 comment
Open

Panthoen Commit Error #12

matbrady opened this issue Nov 4, 2024 · 1 comment

Comments

@matbrady
Copy link
Member

matbrady commented Nov 4, 2024

warning: in the working copy of 'web/wp/wp-includes/js/dist/vendor/wp-polyfill-importmap.js', CRLF will be replaced by LF the next time Git touches it
 [notice] Running git -C /private/var/folders/5m/l2797p6x6936rt0y7bq338h40000gp/T/local-sitej1Pk4K/lfc-wp commit -q -m 'Build assets for dev.'
 [notice] Running git -C /private/var/folders/5m/l2797p6x6936rt0y7bq338h40000gp/T/local-sitej1Pk4K/lfc-wp push --force -q pantheon master
remote: 
remote: PANTHEON NOTICE:
remote: 
remote: Changes to `pantheon.yml` detected.
remote: 
remote: Successfully applied `pantheon.yml` to the 'dev' environment.
remote: 
remote: 
remote: 
remote: PANTHEON NOTICE:
remote: 
remote: Changes to `pantheon.yml` database version detected.
remote: 
remote: An upgrade to the database for environment 'dev' to '10.6' is in progress.
remote: You can track the status of the upgrade from the Workflows drop-down on the Dashboard for
remote: your site.
remote: 
remote: 
remote: 
remote: PANTHEON ERROR:
remote: 
remote: Commit 83fe29485385476dab37f0c9e70d47774a140d47 rejected.
remote: Commit: A commit between 14b5b21fb4ee7cf613cae125f1fe8a6d62b5ceab and 83fe29485385476dab37f0c9e70d47774a140d47
remote: Contains changes to one of the reserved files paths: ['sites/default/files', 'wp-content/uploads', 'web/sites/default/files', 'web/wp-content/uploads']
remote: This path is reserved for the CMS filesystem and should not be
remote: added or committed to your codebase.
remote: 
remote: To see a list of commits in the commit range and the files that they modify, run:
remote:     git log --name-status 14b5b21fb4ee7cf613cae125f1fe8a6d62b5ceab..83fe29485385476dab37f0c9e70d47774a140d47
remote: 
remote: You will either need to revert these commits:
remote:     git checkout 14b5b21fb4ee7cf613cae125f1fe8a6d62b5ceab -- <path>
remote: 
remote: Or have git un-track these files
remote:     git rm --cached <path>
remote: 
remote: To prevent this from happening in the future, ensure the files path is in
remote: your ".gitignore" file
remote: 
remote: 
remote: error: hook declined to update refs/heads/master
To ssh://codeserver.dev.bd76e50b-7fda-4556-a308-4f317b630f25.drush.in:2222/~/repository.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://co
@matbrady
Copy link
Member Author

matbrady commented Nov 4, 2024

Doesn't appear the web/wp-content/uploads/cache directory can be included in build template.

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