Hello.
When I try to upload the rails application to heroku, I get the following error:
No submodule mapping found in.gitmodules for path'app/assets/stylesheets/includes/sanitizes.css'
Remove the above path from cache management and remove the submodule in .git/config
I tried, but it didn't go away... sanitize.css is a folder with sanitize.scss and surrounding files in it.
What should I do to cure it?Please help me.
Thank you for your cooperation.
Perhaps the app/assets/stylesheets/includes/sanitizes.css
itself or any of the directories leading up to it is a git repository containing .git
.
You may need to delete the .git
of that repository to remove it from the git repository, or use the git submodule
to register the git repository as a submodule.
© 2025 OneMinuteCode. All rights reserved.