Quick Start remote project team --CODING (to the novice)
CODING URL: https://e.coding.net/signin
Preface: Before you used github, used Microsoft's Azure collaboration ( https://azure.microsoft.com/zh-cn/services/devops/ ), different collaboration tools fact, the core ideas are much the same. Later spend CODING, feel very good use and simple, has been in use, fear of forgetfulness forgot to write this process.
Quickly build project
1. Create a project and cloned into the local
Website registered an account, find the project section, click New Project
See the following the following picture, because it is a simple project, so click on the first item to a managed code (the latter option is more suitable for large-scale projects or enterprise-level projects, there are more management functions)
Check the first generation gitignore file (used to filter redundant file uploads), fill in the information
When you finish creating, open the project, left click on code repository, then click on cloning
Copy the address, if it is open VS VS2019, open the right side there is cloning, click clone
Just copy and paste the address into the repository location to do that, select the local repository location, click the clone is complete
](https://imgchr.com/i/84OnM9)](https://imgchr.com/i/84OurR)
If the fifth step is another version of VS, open Team Explorer from view
Click on cloning, just copy and paste the address to that line item, then click on the following cloning can be done
PS:
When more than one person project team members to clone the project, to be added to the project members, or can not clone
Click on your team, find invite members to the team
Then open the project, the project set up to find the bottom left corner, click Open to display the following page, click Add Members to select just invite team members to be determined
Also need to be given permission to different user group permissions can be customized
Cloning need to enter the account and password CODING
When after the password is forgotten, can not enter the wrong password, or again, in fact, self-windows to help you save the password for the user name
Details directly Baidu window automatically save git account password changes where
Re-enter the account password to try to remove it
2. Update the project code
2.1 update mode
1. Only one main branch master, no other branch
Pros: Easy, pushed directly to remote project on the bin, the operating properly there is no conflict
Cons: updating on duty, that is a point in time a people who work can not be updated at the same time
2. There is a main branch master, each member has its own branch
Advantages: can work simultaneously, are finally merged into the main branch master, improve efficiency
Cons: a possible conflict need to be addressed, that conflict varied, but in fact, large projects generally use this update way, sooner or later, should learn to resolve conflict,
Remember to switch to the respective branches write code that uses the second time
How to create a branch
1. Click on the branch
Click New branch
Choose from master to check out the local branch name branch, the input you want, click to create a branch
2.2 How to update the project
When the update project, the lower right corner marked, similar to the pen that display the number of changes
Click Change
Fill in the information changes, then the easiest is to select all submitted and synchronization, or click Commit all back above picture is click Sync
Extra: If you are using a branch update, you need to request that the new merger project remotely, and allows administrators to agree to merge into the main branch master
Unity game items can also use this collaborative approach, but recommended that the different members of different scenarios to achieve the task, and then handed over to a person in charge of the scene to the main function synthesis, can reduce conflict
Has written a very detailed, there are many useful features, such as
1. branch protection, you can master to be protected delete library branch to reduce the risk
2. The enactment of project tasks, you can assign work, and view statistics that different members of the working frequency of updates
3. Test Management: You can test items and store documents
4. can write their own API documentation
。。。。。。
We recommend themselves to try and be familiar with how remote team collaboration, please help me find it useful if a point like this, thank you.
Reproduced indicate the source: Author AMzz blog: https://www.cnblogs.com/AMzz/