'How do I push changes in a submodule to GitHub?
My repo R contains a submodule S. I do not own S and I cannot push to S on GitHub. However, I made some local changes in S (and committed them) which I need for my repo R. Now, when I git push origin main in R, GitHub creates a symlink that leads to a 404 because the changes I made to S are not on the original repo (S's remote origin). How can I fix this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
