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
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/
or a list of paths to local source directories for the projects:Repo sync [Proj1Proj2...
Projn]
If you run repo sync without any arguments, it will synchronize the files for all the projects.
How repo synchronization worksWhen you run repo sync, this is what happens:
If the project has never been synchronized, then repo
, and take care of all the little details for setting up the spec in your private repo.
The structure of your repo should mirror this:
.├── Specs └── [SPEC_NAME] └── [VERSION] └── [SPEC_NAME].podspecYour Private Pod is the ready-to-be used in a podfile. You can use the spec repositor
. First, check whether there is a public key. The SSH Public Key is stored in the main directory of the account by default ~ /. Ssh directory (Linux environment). If not, use the command (Linux environment ):
Ssh-keygen
Press enter all the way to create
. Ssh folderOpen two files,
Id_rsa and id_rsa.pub,
. PubIt is the public key, and the other is the private key. The public key must be handed over to the server. The server uses the public key and
Git is Linux Torvalds to help manage LinuxAn open source distributed version control software developed by the kernel is different from a centralized version control system such as subversion and CVS. There is only one warehouse in the centralized version control system.Library (repository), many working directories, while in distributed version control systems such as git (other major distributed version c
1. Download the server version:
Repo init-u git@192.168.1.11: i700t_60501010/platform/manifest. Git-B froyo_almond-M m76xxtsncjnlya60501010. xml
Repo sync
Repo forall-C git checkout -- track origin/i700t_60501010-B [your local bra
Git is Linux Torvalds to help manage LinuxAn open source distributed version control software developed by the kernel is different from a centralized version control system such as subversion and CVS. There is only one warehouse in the centralized version control system.Library (repository), multiple working directories (WorkingCopy), while in a distributed version control system such as git (other major di
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 an open source distributed version control software developed by Linux Torvalds to help manage Linux kernel development, unlike a centralized version control system such as Subversion and CVS. In a centralized version control system there is only one warehouse (repository), many working directories (working copy), and in a distributed version control system like Git (other major distributed version c
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,
In the era of cloud storage, all kinds of network disks have come.
You have nothing to writeCodeYou can use git to create a private quasi-Git server by using the automatic synchronization function of the online storage,
The principle is very simple. Just put git repo in th
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.
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
remote device to the local device, and does not automatically merge. To update and merge, run the following command:
git fetch origin mastergit log -p master..origin/mastergit merge origin/master
The above command First downloads the latest version from the master branch of the remote origin to the origin/Master branch, then compares the differences between the local master Branch and the origin/Master branch, and finally merges them.
The above proce
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 repo tool and use the
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
Repo every project under each directory has a git repository that can execute GIT commands under each directory's Git repository.
One, from the server clone code
1, initialize repo warehouse
# repo Init-u http://xxx/xxx_Ma
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.