Git server graphics and text flow using Oschina

Source: Internet
Author: User

Refer to the course of bean sandbags I have done it myself also to write my experience and experience

Due to participate in the game Bull "turret legend" open source project, server + client , so feel no matter how the time, or more or less make a contribution to it. After all, this experience should be the first time, although it may feel that there will be fewer people, and even fewer people now, because we use GIT to manage the development of project writing, we may have a lot of students without git experience and the foundation of the small partners to block outside the door, So just spend a little bit of time writing this afternoon to study git and use oschina git as a server of some experience, hoping to join the collaborative development of the small partner is not the first difficulty to be stumped.

Anyway

1. Basic Experience

Learn git first not to be intimidated by appearances, Git is a tool, how hard can it be? But we have not mastered the use of tools, the use of chopsticks when we were a child did not take so long! Git should be the same, when you learn to use git after, like you will use chopsticks, then eat a dish is more convenient, at least more flexible than the foreigner's knife and fork. First of all, we do not say the complexity of the beginning to learn to walk, the principle we want to understand, but do not be intimidated by a lot of concepts, this article just let everyone in the local installation of Git, and then connected to the Oschina server, can be from the above clone code down, Then can write their own code pull up, to achieve similar effects of SVN, as for the more functional code and GIT operation command also need everyone to slowly use and familiar with, do not worry, after all, I also like you, and now only these. Ha ha.


2. Related Downloads

the first is to download the relevant Git installation, here to my Baidu network disk to download it, : Http://pan.baidu.com/s/1bn3xDF5 Password: Xyay

A git install file, one is similar to SVN tortoisegit-1.8.10.0-64bit, I here is 64 bit, if you are 32 bit that corresponds to search for 32-bit download installation.


3. Create a new project

After installing the corresponding git, the login link https://git.oschina.net/, register the account password, this does not say much. And then create a new project.



Here I have created a project called Firstgittest. Note It is best to initialize the project when the Readme.md file is checked, after a lot of description of the nature of the content can be written inside very convenient.

4. Add encryption keys for this project

After creating the project, because you want to upload to the server on the local, then must have the corresponding key, to improve security, the password is not enough, you understand! Click Manage by Icon → Deploy the public key management → add the deployment public key → new public key.


You right-click on your desktop to see

Click to open git command input box this time input: ssh-keygen.exe-c "e-mail Address"-t RSA here is your email address is registered Oschina e-mail address just fine

Then will be asked to enter the address of the saved key I here is the input e:/firstgit, then you need to enter your registration Oschina password, here default is not shown, you enter the direct return can be as shown

Next we go to the e-disk to find the corresponding firstgit_key.pub, and then open with Notepad can also be recommended to use notepad++ free.

Then copy the contents and then add the new key page as you like


5. Download the project, submit the changes

This time you will be able to clone the project down, first you create a new folder in a location, then right back to the Git clone, and then fill in Oschina just your newly created project address. Then click OK, then you can put the project clone on the server to local, this time we casually create a folder, called Add. txt, and then go back to the parent directory, right-click Git commint.

Usually the first time will jump to, set the account password where

This time you only need the corresponding input your username and e-mail address on the Oschina, signing key you directly check the back of the inherit can be. Click OK, then enter a message and the submission is successful.


Well, the simplest process for uploading a project from the server clone and the local update is done. As for how to pick up the task, take the task, you can continue to follow the tutorial, I also in the learning process.


Welcome to learn Unity3d's small partners to join our collaborative development together to improve.

Git server graphics and text flow using Oschina

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.