The strange problem that Visual Studio 2017 for Mac is connecting Git, just Git

Source: Internet
Author: User

The strange problem that Visual Studio 2017 for Mac is connecting Git, just Git

VS for Mac encountered a strange problem when connecting Git, and the existing solution could not be bound and submitted to GitHub.

VS version 7.3.3

Recurrence

If you think there is a problem with your operations, create a project and test it. The "Use git" option is not checked during the creation,

By default, the root of the solution is selected for the newly created project. However, after the Version Control menu is opened, the Publish in Version Control... option is unavailable, as shown in,

It is gray except Checkout.

 

After trying many methods, I did not find the problem. I accidentally found that when I was elected to the lower project, this option was finally highlighted.

The Version Control menu is still shown in the figure when the solution is selected again? Do you need to "Activate" this way?

Add existing solutions to GitHub

First, create a new repositorie on GitHub.

Copy the Https address.

Select a solution in VS and click Version Control> Publish in Version Control. The pop-up form is as follows:

 

① Select the Registered Repositories Tab

② Click the Add button on the right.

③ Set a name

④ Paste the copied Https address.

Click OK.

Select the newly created GitHubTest and click OK again.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.