How to use Google Code)

Source: Internet
Author: User
Tags hosting

How to use Google Code



A small open-source software calledArmgoIt is a Skyeye-based ARM Simulator. I have mounted it to Google code. You can download it. However, the project has not been completed yet, and there are many bugs... The following uses armgo as an example to describe how to use Google Code:



1.

First, register a Gmail mailbox.



2.

Log on to your Gmail mailbox and click "http://code.google.com/hosting/"Sign in to create a project"Button to jump to Google
Project hosting page



3.

Enter the project name, project summary, description, and other information. Click Create project. For example, if the project name is set to armgo (lower case)



4.

Get password:

In the upper-right corner of the page --> profile --> setting, we can see the password for logging on to Google Code with SVN.


Obtain the svn address:

Click the source tab on the homepage to view the svn Command Used for uploading.



5.

For the first use, we first create a local directory:

Mkdir SRC



6.

Initialize the environment:

CD SRC

SVN checkouthttps: // armgo.googlecode.com/svn/trunk/ armgo
Usernameemailname@gmail.com

(Note that the above command is the svn command you obtained in step 1, and the emailname@gmail.com is the mailbox name you registered)

The above command will create a folder named after the project in the current directory. Mine is armgo, and this directory will be the directory of our commit later




7.

1st synchronization:

CD armgo

SVN add * -- force

(The svn add command adds updated files to the upload list. -- force indicates recursively adding all new files. The first time you run SVN add, many files are listed, because we do not have these files on Google code, but after running SVN add, only new files will appear)



7.

SVN commit-M "This is the first commit"

The above command uploads the files in the upload list to Google code.-M is followed by the comments of this commit for future reference.



8.

Enter the above command and prompt us to enter the password:

For the first time, you should enter the user's password when logging on to Linux.

For the second time, enter the name of the Gmail mailbox at registration.

For the third time, enter the password obtained in step 3 above.



9.

After uploading, you can see the commit file in downloads of the project ~~



10.

How to submit changes:

Go to the source code Directory: cd src (note that it is not the armgo under SRC. SRC is the path for running the svn checkout command in step 1 !)

Run the command in step 1 above ~~



11.

We can package the release version and upload it to Google Code. Click new download under the downloads tab.



12.

Generally, we should check the svn before modifying the Code to ensure that the code we want to modify is the latest. After modifying the code, run SVN add and then run SVN commit to submit the changes.


Done!

PS: Windows can also be used for check-in and export

PS2: The csdn editor is too watery or I may be too watery. The left alignment does not work, and the text format must be eliminated first.

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.