Anything that repos/EmptyRepo/
contains can be added to the EmptyRepo repository, so yes your suggested placement of repos/EmptyRepo/GitTrial/...
would work fine.
Before adding files to the repo, I first recommend creating a .gitignore
file at repos/EmptyRepo/.gitignore
, in which you can ignore user-specific and generated Visual Studio files. Here is a public .gitignore repository that contains a suggested Visual Studio .gitignore.
Next, use git add to add whatever files you want to include in the repository. Ex: git add GitTrial/GitTrial.sln
to add an individual file, or git add GitTrial
to add the entire directory and its children, excluding those in the .gitignore.
Lastly, git commit
your changes and git push
to the remote EmptyRepo repository.