Folder not being commited to Git
So I want to commit these files to git. When I do only the backEnd folder gets pushed to Git. I tried multiple times, I even added a new Book-Swap folder and placed the backEnd and frontEnd folders inside that folder. Still, only the backend gets pushed. It seems that it treats the frontEnd folder as an empty one. I am sending a screenshot of that as well to prove that it’s not.
! [remote rejected] main -> main (push declined due to repository rule violations)
Actually I can’t push my code to git when I build my react app, show the above error, my branch is main all code is in that incliudes server/, socket/, client/ ,