Reputation: 9820
I pulled someone's Github repository. I added a directory within a directory and push it back up to Github.
When I push to Github, the directory appears as a green folder, a submodule. I want this new directory to simply appear as a folder. How can I achieve this?
Upvotes: 0
Views: 171
Reputation: 1254
It sounds like the folder you're adding is itself a git repo. Check it - does it contain a ".git" sub-folder? If so, removing the ".git" folder from the copy will allow you to perform a standard "git add", "git commit" in the root repo you're adding this folder into.
Upvotes: 3