Visual Studio 2019 V16.8.6, Git hub first time create Repository with existing Xamarin solution

Lew Carlson 1 Reputation point
2021-02-25T17:08:11.337+00:00

Using Visual Studio Git I have gone through the create Repository with apparent success (output window). But all that shows in the created Github Repository is .gitignore and .gitattributes no other files from my solution. I think I understand the use of these 2 files and they look like they could be for Visual Studio but I did not create or edit them. The doc's and instructions indicate the solution files should be there. Is there some other action I need to take to get this solution under source control? Could the .gitignore and .gitattributes be filtering out my total solution? In the Github Repository do I need to manually upload all the files? Any help would be appreciated.

1st ever question, I don't know about Tag use.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,903 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2021-02-26T03:13:46.063+00:00

    Hi LewCarlson,

    You also need to publish your project to this new repository, you can follow this document: Publishing an existing project to GitHub.

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**


  2. Karen Payne MVP 35,391 Reputation points
    2021-03-01T14:30:37.727+00:00

    Hello,

    I believe the 100 file limit is in regards to uploading folders/files outside of Visual Studio via developer command prompt using git commands.

    Below I've put together high level path to commit/push to a remote repository. Without the push the commit is local while the push takes the local commits to the remote repository.

    Once you have created a new repository there is a commit followed by a push operation from the Git menu.
    73071-f1.png

    In regards to large set of files, here is an example where I have 41 projects with well over 1,000 files.
    73045-f2.png

    And currently have 64 changes (well over 200 files)
    73006-f3.png

    To commit/push add a comment and select commit and push
    73030-f4.png

    To publish, you need to work with Git Actions in your case.
    http://hermit.no/github-actions-including-how-to-build-net-framework-projects/

    0 comments No comments