How to upload code is all code managed above (github,codingnet)

Source: Internet
Author: User

1:github is open source, creating private projects for money, and codingnet without limits.

Upload steps:

Premise: Git software is installed and the path to the GIT software is configured in Android Studio (Git.exe Path)

1. Create a local git repository: creat git responsibility (in Vcs->import into Version Control)

2.add (add) All files to the local git repository created above: Right-click on Project, add option under Git submenu

3.commit (Confirm) file changes: On the top of the VCs up arrow (shortcut key "Ctrl+k"), that is, commit changes

4. A commit and push option is selected in the commit under the pop-up window to confirm it.

5. Enter the remote login git (https address): Click Master and enter the git https address of the code hosting project under the popup window. Confirm

6. Pull down first and push up again. (If more than one project, after pull, select "Merge" to forcibly merge files, "Rebase" is also a merger, but it will ask you to merge which conflicting files)

How to upload code is all code managed above (github,codingnet)

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.