Reputation: 190
Every time I push a file to Github it uploads as a submodule! How do I keep this from happening? Is there a way to reverse the submodule and upload like the rest of the files inside of the folder?
Upvotes: 1
Views: 249
Reputation: 1323973
Check first if you have multiple .git folder
That would means "nested Git repositories", which would be uploaded to GitHub as a "gitlink" (a reference to the root tree SHA1 of the nested repo)
Removing those nested .git
subfolders (assuming you don't need the internal history) would allow to add, commit and push the actual content of those subfolders.
Upvotes: 1