When I push my project to Gitlab, the directory structure changes in the remote repository

I have a project called Project. Within the Project directory, there is another directory called Directory and within this, a subdirectory called SubDirectory:

Project/Directory/SubDirectory/file.py

When I push the Project to my remote repository called Project, it creates a single folder called Directory/SubDirectory (instead of folder with a subfolder).

What do I do so that I get the same directory structure as in my local repository, in my remote repository?

1 comment
Comment actions Permalink

Hi, could you please check if the issue is not reproduced when you commit and pull from system terminal outside of IDE?

0

Please sign in to leave a comment.