This is my current status:
- I created a new repo in github
project - Cloned the repo in my dev computer in
/project - Cloned twitter bootstrap repo in
/project/public/ - Made some structural changes to my project
- Committed and pushed the changes to github
Because I accidentally made the /project/public directory a subrepo of twitter bootrap, it doesn’t recognize any of the changes made to it.
I tried removing the .git directory, but that didn’t fix it.
What can I do to reclaim the public directory as part of my repo?
Not a nice fix, but this is what I did to make it work:
/project/public/.git)publicdirectory outside of the main repopublicdirectory to my projectNo all the files inside public are being tracked properly by my main repo.
To avoid this, you should remove the .git directory before committing.