Use oschina's git server text flow,
I also wrote my experiences and experiences by referring to the bean paste tutorial.
Because I registered to participate in the open-source project, SERVER + client of the legend of the turret, I felt that no matter what time, I would make more or less contributions. After all, this kind of experience should be the first time. Although we feel that there may be fewer and fewer people in the future, even now there are fewer and fewer people, because we use git to manage project writing and development, many friends without git experience and foundation may be blocked, therefore, it may take a little time to write about the experiences of studying git and using oschina Git as a server this afternoon. I hope that the partner who is interested in collaborative development will not be the first difficulty.
Back to business
1. Basic Experiences
To learn about git, don't be intimidated by the appearance. git is just a tool. How hard can it be? It's just that we haven't mastered how to use tools. It's not that long since we used chopsticks! Git should also be the same. After you learn to use git, it is much more convenient to eat and take food, at least more flexible than foreigners. First of all, we should not talk about the complexity or start to learn it again. We need to understand the principle, but we should not be intimidated by many concepts. This article only allows you to install git locally, connect to the oschina server and clone the code from the above. Then, you can write your own code pull to achieve the same effect as svn, as for more functional code and git operation commands, you need to be familiar with them slowly. Don't worry. After all, I will be the same as you, and now I will only do this. Haha.
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 installation file, a svn-like TortoiseGit-1.8.10.0-64bit, I here is 64-bit, if you are 32-bit, then the corresponding to search for 32-bit download and installation.
3. Create a new project
After installing the corresponding git, log on to the link https://git.oschina.net/and register the account number and password. Create a new project
Here I created a project named firstGitTest. Note that it is best to check the ReadMe. md file when initializing a project. It is very convenient to write a lot of descriptive content later.
4. Add a key for this project
After creating a project, you must have a corresponding key to improve the security. It is not enough to have an account or password, you know! Click "manage"> "manage deployment public keys"> "add deployment public keys"> "new public keys" as shown in the figure.
Right-click your desktop and you will see
After clicking it, you can open the git command input box and enter: ssh-keygen.exe-C "email address"-t rsa here's email address is the address you registered oschina.
Then, we will ask you to enter the address of the key to be saved. Here we enter e:/firstGit, and then you need to enter the password for registering oschina, which is not displayed by default, you can press enter directly, as shown in
Next we will go to the E drive and find the corresponding firstGit_key.pub, and then use notepad to open it. We recommend using notepad ++ for free.
Copy the content and add a new key page as shown in the following figure.
5. Download the project and submit changes
At this time, you can clone the project. First, you can create a folder in a certain location, right-click it, and then enter the Project address you just created in oschina. After clicking "oks", you can easily export the project on the server. At this time, we will create a folder, add a new TXT file, return to the parent directory, and right-click git commint.
Generally, the first jump will jump to the place where the account password is set.
At this time, you only need to enter your username and email address in oschina. You can directly select the inherit option next to the signing key. Click "OK" and enter the message. The submission is successful.
All right, the simplest process is to clone the project from the server and upload the project after local updates. At this time, you can go to oschina git to see that the newly added content has been added and the related comments have been added. Isn't it easy? It's too simple to use any command, isn't it? As for how to receive and receive tasks in the future, you can continue to follow the subsequent tutorials. I am also learning.
Welcome to join our unity3D partners for collaborative development.