A little bit about the use of coding.net with Git on Androidstudio/idea

Source: Internet
Author: User

We often need to write a program version control of our code, or branch management, with similar features of the software, such as Svn,git,cvs and so on! But configure the version control server (SVN server etc.) It is tedious and requires a certain cost! At this point we will consider whether there is a free version control/Branch management service on the network, just need us to submit the code to help us do what the server does, so we can find GitHub, open source China, Coding.net and so on with our needs of the service website! Here I chose the conding.net, as for the advantages and disadvantages here omitted. Free and safe!

The first thing we need to do is install the GIT client on the computer, and the Git tutorial network is a plethora of tutorials! Here's the thing: take idea&&git2.7 for example

1: Create a project on Coding.net to place your project's files

  

Create the basic options for the project, if you do not want open source can be configured like this

  

2: The next step is to upload the code.

Open idea, main Menu file-setting-version control-git configure git

  

Then add the project to the Git repository (which will automatically initialize a repository, do not understand self-Baidu), and then go to the right-click Project folder to open Git bash, using the command "Git remote Add name url" added remote Project address (also known as remote repository) Similar to "Git remote add webapp https://git.coding.net/charlestao/WebApp.git" name corresponds to webapp,url corresponding to https://git.coding.net/ Charlestao/webapp.git

  The most important step: you need to update before you can commit with git, and update a bit detours in idea

Look at the picture

Open the Pull interface

See without the remote url! we just added Click the Refresh button on the right, then select WebApp, so you can update the code upload code!!!

Give it a try!

About the use of a little coding.net with git on Androidstudio/idea

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.