in a unified manner, this makes git easier to use.
In order to get the latest sourcecode of Android, William Learned some basic operations of git and repo, sorted out how-to for how to get the android code, and pasted it today.
1. Install git
Download the latest gitsource c
The first Google summer College Students' blog sharing competition-2010 andriod
The following operations are completed in ubuntu10.04lts:
Install git
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Sudo Apt-Get install git-Core
Install curl
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Sud
Meego source code is managed through git tools, we can download through the GIT address of the source code, but http://meego.gitorious.org/This website provides the GIT address of the module. If a module is downloaded from one module, it will not be exhausted ~ Therefore, install the
Personal email: xiaokeweng@gmail.com
Next, let's take a look at the steps for using repo in the process of downloading the android source code provided on the official website:
Http://source.android.com/source/downloading.html
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/
Personal email: xiaokeweng@gmail.com
For detailed analysis of the Code, even if you do not understand python and look at the annotations, you can also understand the rough. Roughly speaking, the purpose of this repo bootstrap is to assemble the real repo directory, that is, when you want to pull code under a directory, you will enter: repoinit, in essence, it is to visit the website and go down the whole s
(Transferred from http://source.android.com/source/git-repo.html, the company's network operator has questions, so you can view them in the company)
Using repo and git
To work with the android code, you will need to use both git and repo.
GitIs an open-source version-contr
, such ~ /Android. Use the repo init command after entering the file.Repo init-u git: // android.git.kernel.org/platform/manifest.gitThis process will last for a long time (at least you can have a good sleep). The specific time depends on the network conditions.Finally, you will see a prompt such as repo initialized in/Android, indicating that the local version l
Git Introduction
Git is a distributed version control system. The GIT client does not only extract the latest file snapshot, but completely mirrors the code repository. In this way, any server that works collaboratively can be recovered from a local warehouse from any image. Because every extraction operation is actually a complete backup of the code repositoryIn
easier to use.1. Git installationInstall Git on Ubuntu 8.04 as long as you set the correct source for the update, and then use the apt-get on it, there is any dependency problem, let it solve it itself. Where curl is a file transfer tool that works under the command line using URL syntax, which is used when installing repo later.Java codesudo apt-get install
Original URL: http://blog.chinaunix.net/uid-26074270-id-2458828.htmlAndroid projects use Git and repo for version management. In most cases, git can meet the needs of the user. However, because Android projects are too large, it is not easy to manage these 100 + git libraries in a simple and efficient way.
This article was reproduced from: http://www.enjoydiy.com/608.htmlWe can download the Android source code from the https://www.codeaurora.org/website.Here's how:Download repo and set environment variables$ curl "Http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo$ chmod a+x ~/bin/
This article was reproduced from: http://blog.csdn.net/shangyuan21/article/details/17618575We all know that the download of Android source code needs to use repo for secondary download, but the most in the repo can not download the situation, including the official website g
Linux repo preparation and code download
Https://code.google.com/p/git-repo/downloads/list // latest version, first download the latest version
From http://hi.baidu.com/lizhengjun2010/blog/item/0b84aa406f2d579eb2b7dcf7.html
At the company's request today, modify the source
Git repo usage experience
Git is a version control tool similar to SVN and CVS. Repo encapsulates git operations to simplify git commands,
The GIT learning website was previously vie
Git is quite a version control tool with Svn,cvs, repo encapsulates the operation of git, making the git command more simplistic,
Git learning site This is before you see, but the actual work of the operation or encountered a lot of difficulties, always encounter conflicts,
Repo Unified management of multiple Git repositoriesRepo Init-u URL in the current directory to install the warehouse, generate. Repo. Repo/manifest.xml point to TagRepo Sync update Download ==> * (no branch)Repo start Master–all
I. The difference between Git/repo/gerrit:
1. Git:git is an open source distributed version control system for efficient, high-speed processing from very small to very large project versioning.
2. Repo:repo is a script written by Google in Python script to call git, repo implement to manage multiple
Repo is a code versioning tool that consists of a series of Python scripts that encapsulate a series of GIT commands for unified management of multiple Git repositories.Because Android source code refers to a lot of open source projects, each sub-project is a git repository, each g
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.