Local Upload Code Cloud file

Source: Internet
Author: User

On the ground to the code cloud sequence
The remote has no project and the code cloud establishes the connection:
1. Click on "New Project" on the code cloud;
2. After successful creation, create a local folder or command mkdir + file name
Configure personal Information
1) git config user.name "yourname"
2) git config user.email email_address
3. Command CD + file directory into the file name
4. Command git init to initialize the GIT repository
5. Command git remote add origin + warehouse address (new project point in the code cloud to clone or copy the link)
6. Command Git pull Origin master (pulls the file on the branch down)
7. Drag the project file you want to upload into the folder you just created
8. Command git Add. or git add + the project name dragged in (save to cache)
9. Command git commit-m "What to edit" (push to local library)
10. Command Git push Origin master (push to the remote repository, which is the code cloud)

The remote has the project situation and the code cloud establishes the connection and uploads the code:
1. Create a local folder or command mkdir + file name
2. Command CD + file directory into the file name
3.git Clone + code cloud warehouse Address
4. Put the new code in the path of the downloaded code
5. Put the code you want to upload
6.git Add.
7.git commit-m ""
8.git Push Origin Master

Local Upload Code Cloud file

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.