[Go] How to use Git to sync code to CodePlex in Visual Studio

Source: Internet
Author: User
Tags how to use git

This article transferred from: http://www.cnblogs.com/stg609/p/3673782.html

The open source community is hot both at home and abroad, and Microsoft has been blamed for not having open source, but with the growing open source of frameworks such as the. Net framework, ASP, and so on, we have seen the pace of Microsoft open source. CodePlex is Microsoft's own open source community, which gathers a lot of open source projects, then how can we put our own open source projects on this?

Before you continue reading this article, make sure you have installed GIT-related extensions in Visual Studio and have a general idea of how to use Git in Visual Studio, or read how to use Git in TFS and install it based on the actions in that article.

Create a project in CodePlex

After logging in to CodePlex, select Create a new project, jump to a page to create the project, follow the prompts to fill in the appropriate content.

Note that in Source Control , you need to choose Git.

After clicking "Create", you will see the movie, in the Red box, the due date of this project release (not published, the project will be deleted) and the 4 steps to publish the project (Edit the Project home page, upload the code, set up the certificate, edit the project summary page).

Edit Project home page

In the upper right corner of the image above, you can find the word "edit page" and click the link to go to the page editing status. CodePlex provides two ways of editing: Wiki tags and Html tags, and you can edit them any way you choose.

Synchronizing code to CodePlex

This section is the core content of this article, please read it carefully. Before you read this section, prepare the items you want to upload locally.

When the page edit is complete, select "Source code" in the navigation and go to the second step "upload code".

At this point, we click on "Clone" in the upper right corner to display the "Git" address and copy the address.

Open the local solution, select Properties/ADD solution to Source Control.

In the pop-up prompt box, select Git.

Click Team Explorer to check the code into the local code base.

When you have successfully checked in, click "Sync".

This time jumps to the "unsynchronized check-in" interface. After entering the URL address in the URL entry box that you just started copying, click "Publish" to sync the code to CodePlex.

Synchronizing in progress

Synchronization complete

Go back to CodePlex, refresh the next page, you will find that there are already check-in records. And the "step" in the head also shows that 2 have been completed.

If you don't know what to do next, you can click on the "Step", which shows the details of each step, as shown in.

Setting up certificates

The certificate represents how you will empower others to use your source code. For example, is it possible to modify and republish. Here I choose the MIT certificate, because the certificate provides the user with the greatest degree of freedom.

Excerpt from the network

Set up certificate-related information

Project Summary

Completed the certificate creation, the final step is to summarize the project, including the establishment of the project after the release of the two-level domain name, project summary submissions, Project logo and so on.

Publish Project

After all the steps have been completed, you will see a "Publish this project" button on your head and click the button to complete the project's release task.

Publishing success

The items in the example can be found here: The simplest demo for MVVM

The source of this article: How to use Git to synchronize code to CodePlex in Visual Studio

[Go] How to use Git to sync code to CodePlex in Visual Studio

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.