1, first in the code cloud to create an account, and create a project
2, after the creation of success, in the Click Clone/Copy button, copy download link
3, in the terminal, CD to the desktop, execute the command git clone ~ ~ ~
git clone is followed by the link you just copied.
4, after the execution of the command line, will be downloaded on the desktop in the code cloud we just created the project, open the folder, there will be the following as shown
5, and then the files in our project dragged in, we must pay attention to, here we dragged in is the project file instead of the whole project folder dragged in, otherwise it will not work. And we don't want any of the engineering. Git to hide the file or cause a repository conflict
6, open the project, use SourceControl to carry out the operation. Click Commit to submit the changed content to the local repository.
The following window will appear, and all four files will be checked.
and enter each change here as a label prompt, where I fill in the initialization submission
Click on the Commit button in the lower right corner
7, click Push Again, upload the item to the code cloud
Select your branch.
to fill in the username and password, click OK on the
8, now go to the code cloud to refresh the interface, you can see the project you have just submitted
When the team is developing, you need to do the pull operation every time you modify the project, the code cloud on the latest integration of the project to crawl down, and then to modify!
Original: http://www.jianshu.com/p/3fc466ef5a3f