How can I manage googlecode under ubunut?

Source: Internet
Author: User
Tags tortoisesvn gmail password
A few days ago, I was very interested when I saw instructor Xu using googlecode, so I also registered one. Registration is very simple, but after registration, I still cannot find a way to manage googlecode, after a large amount of search information on the Internet, I learned how to manage googlecode under windowns. In fact, it is very easy to download a tool named "tortoisesvn" after it is installed, right-click the image and you will see that you still can't operate on it. You can also right-click the tortoisesvn-> Version library browser, which is a graphic interface and intuitive. If you have more contact with each other, you will be able to practice more. However, I have been using the Ubuntu operating system most of the time. If I want to update googlecode, I have to go to windows, which makes me very uncomfortable. So I went online again to find information and continue learning, finally, I found a way to manage googlecode under Ubuntu. Now I have learned some simple operations and shared them with you. please correct me if there are any errors or deficiencies! 1. Install SVN (subvertion) sudo apt-Get install subversion2. Open your own googlecode Code Library, in the home page, select source, and then click checkout, you will see two lines of content SVN checkout https://xxx.googlecode.com/svn/trunk/ XXX -- username namesvn checkout http://xxx.googlecode.com/svn/trunk/ XXX-read-only my understanding of these two lines: the first line is our googlecode administrator's link to gooelcode code library management. Through this link, we can update our code library. Row 2: the link for everyone to read our code. The link for the second line can be used to read all the content of our code base, but the content cannot be updated. 3. the username and password are our username. There is no doubt that the password is not our Gmail password. This password is the password generated in googlecode. view the password: go to our googlecode homepage, source, checkout, and pay attention to this line of content "when prompted, enter your generated googlecode.com password. click the blue part to see the required password. 4. Copy all the contents of the first line, that is: SVN checkout https://xxx.googlecode.com/svn/trunk/ XXX -- username name to the terminal, then we will build a code library locally, generally in the main folder, the name is generally XXX in the previous link. If there is something in googlecode, the content will also be in the local XXX directory. 5. Add new content to our googlecode, copy the content to be uploaded to XXX, and run the command: SVN add * (* Indicates adding all content. If not *, you can also use SVN add test to upload a single file. In this case, all the content to be uploaded will be listed. Each row will have a in front of it, which indicates that this is newly added, so far, we have not actually uploaded the file to googlecode. Before executing the submit command, we can see what we want to submit and use this command: svn st (short for "St" is "status") will tell us what operations we want to perform on the files. We will cancel this operation if we do not want to submit the test file. Execute: SVN revert test. If all the items are canceled, run: SVN revert *. If we find that there is no problem with the content to be submitted, run the command: SVN ci-M "Description ", at this time, the content will be submitted to googlecode. 6. To delete the content in googlecode, first run: SVN up to get the latest content of googlecode, and then run: SVN delete test. C (test. c is the content to be deleted.) Finally, submit the file and execute: SVN ci-M "". At this time, I have passed the test in the code. C has been deleted. 7. Common command Summary: SVN checkout https://xxx.googlecode.com/svn/trunk/ XXX -- username name create local code repository SVN up get the latest SVN add * add content SVN Delete * Delete content SVN revert * Undo operation, for example, add, delete, and other operations SVN st to view SVN status, before SVN ci-M "", you can use SVN log to view the version log SVN info to view the basic information. For other commands, you can also view the svn help document and view the help document methods. On the terminal, run: SVN? 8. Some Notes: I learned googlecode and referred to some online materials. I learned some of the above content on the Internet and summarized the following points based on my learning experience: Register googlecode: (: http://code.google.com/p/sunsea-aka/downloads/list)

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.