Manage projects using oschina code (1)

Source: Internet
Author: User
Tags git client using git ruby on rails

1. What is git?

Git defines Wikipedia: it is a free, distributed version control tool, or a source code management tool that emphasizes high speed. Git was initially developed by Linus Torvalds for Linux kernel management. Each git working directory is a completely independent code library with complete history and version tracking capabilities, independent of the network and central server.

The emergence of git has reduced the pressure on many developers and open-source projects to manage branch code. Due to its good control of branches, developers are encouraged to contribute to projects they are interested in. In fact, many open-source projects, including Linux kernel, Samba, x.org server, and Ruby on Rails, have transitioned to using git as their own version control tools. For developers who like to write code, there are two major advantages: We can submit our own code and view the code version anywhere (on the subway station at work; we can open many branches to practice our ideas, and the overhead of merging these branches is almost negligible.

2. Use git

Git hub is a popular hosting platform on the Internet, but because of the network environment in China (You know ), in China, git Hub still needs to be paid a weekly discount. So this article will introduce you to a domestic code hosting platform ------ oschina

First let's talk about the oschina code hosting address: https://git.oschina.net/, can create up1000Projects, not limited to private or public, I think it is enough for individuals or small businesses. In addition, after my tests, the speed is still quite powerful. Now, I will introduce you to the following illustration.

Go to https://git.oschina.net/, as shown in the following figure,

Select a registered user or use a third-party user to authorize logon. However, you must activate the account email before using either of the two methods.




Click Create Project



Create Project page



If you do not want to publish a project, select "Private project"

We recommend that you select the following check box and click Create project. The project name here is recommended to be the same as the project name in eclipse.




Click Create project. The following page is displayed.


Interface after creation



In this case, there is only one readme. md file in the remote project.

Now we have created a project on oschina, so that we can use the GIT client for code upload and version control.

(To be continued)


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.