Visual Studio 2015 git commit folder structure

I'm trying to use Visual Studio 2015 as my main dev tool and with git functionality I keep running to problems with folder structure.

Example: VS2015 Python Project.

Solution(sprinter)
-Project(sprinter)
--Project Environments
--Folder(sprinter, holds the main files)
--requirements.txt
--runserver.py

When I go to commit this to an empty git repo, on say GitLab, instead of it committing the files in "Folder(sprinter) and the requirements file (which I have to only include, everything else is excluded). I get this.

Repo(sprinter) 
- sprinter
--sprinter
---sprinter(folder with files)
---requirements.txt

I've not seen anyone else on github or gitlab with this structure, it's usually just the source files:

-static
-content
-requirements.txt
-app.py

Am I doing something wrong with how I do the initial push?

Answers


Am I doing something wrong with how I do the initial push?

Not with the initial push, no.

But the way the git repo has been initialized can explain why: it has been created above the sprinter solution folder, instead of inside it.

Check if you reproduce the issue with this Git-Visual Studio tutorial).


Need Your Help

click on Button using AppleScript/JavaScript without ID,Name,Class

javascript button click applescript

I want want to click on this Button using AppleScript: But I don't know how to reach this Button in JavaScript, since it hasn't any id, name or class: