Reputation: 1099
I am trying to add a folder which contains other folders and files to my git repository. The steps I have taken are as follow:
The result I am getting is that a folder called 'src' is being created in GitHub, but it is empty and states that it is a submodule.
On my local machine src contains two more folders (styles and php) and also a file (index.php).
I have tried different commands such as git add -A, git add --all, adding the force tag and so on, but with no luck.
Any help will be appreciated.
Upvotes: 1
Views: 341
Reputation: 2410
As we discussed in the chat it turned out that the .idea
provided by PhpStorm is causing the problem. So to solve the issue you have to copy the individual files of your project but excluding the .idea
file.
Upvotes: 2