The ubuntu10.10 system is installed in the vmvm on a new computer. The system is used to synchronize the source code of gingerbread. When you execute the following command:
Repo init-u git: // android.git.kernel.org/platform/manifest.git
The terminal prompts the following error:
Traceback (most recent call last ):File "/home/helei/bin/repo", line 603, in Main (SYS. argv [1:])File "/home/helei/bin/
For example:
Repo init-u git: // xxx/XXX/manifest. Git-B
Here, the meaning of-M and-B is:
1. Note that manifest. Git is also a git project.
2. Therefore,-B specifies which branch of the GIT project in #1 is used.
3.-M specifies which file in the GIT project to download (The Branch should be switched first and then downloaded ).
After repo init has done this, A.
reference:http://blog.csdn.net/lihui130135/article/details/40858885If you already have an Android repository but are not up-to-date, you want to switch to Androidl branch(1). cd. repo/manfiests git branch-a | Cut-d/F 3android-4.4.4_r2.0.1Android-4.4_r1android-4.4_r1.0.1android-4.4_r1.1android-4.4_r1.1.0.1android-4.4_r1.2android-4.4_r1.2.0.1Android-4.4w_r1Android-5.0.0_r1Android-5.0.0_r2(2). Select ANDROID-5.0.0_R2 according to the list aboveRepo Init
Use the bintray-release plug-in to upload data to Bintray-HTTP/1.1 404 Not Found [message: Repo 'maven 'was not found ].
There is always one or more pitfalls in the first step of online tutorials.
Last week, I released a small tool to upload to jcenter for convenient management and future use. I took a look at the tutorial. It took a long time in just a few steps.
By Hongyang tutorial http://www.voidcn.com/blog/lmj623565791/article/p-5798330.html
Seve
failed to sync branch your might need to open a shell and debug the state of thisrepo.I made some changes to a file a month ago. I just realized today that they didn ' t go anywhere; The GitHub Web-site has a history of my changes.The client has a no indication that anything was out of date (there is no "uncommitted changes"). But there is "unsynced commits":How does i sync unsynced commits?I tried nothing, and I ' M fresh out of ideasi tried clicking Thesync button (whatever that means), but
Use and configuration of yum in CentOS
Recently, due to server requirements, you need to build an intranet yum source in the company's intranet.
To build an intranet yum source, perform the following steps:
1. What is yum?
2. What is a repo file?
3. Detailed
://mirrors.163.com/centos/5/ OS /i386/CentOS)
Wget http://mirrors.163.com/centos/5/ OS /x86_64/CentOS/m2crypto-0.16-8.el5.x86_64.rpm
Wget http://mirrors.163.com/centos/5/ OS /x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
Wget http://mirrors.163.com/centos/5/ OS /x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
Wget http://mirrors.163.com/centos/5/ OS /x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
Wget http://mirrors.163.com/centos/5/ OS /x86_64/CentOS/python-urlgrabber-3.1.0-6.
installation Yum
RPM-IVH python-iniparse-0.3.1-2.1.el6.noarch.rpm
RPM-IVH yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm
RPM-IVH yum-3.2.27-14.el6.centos.noarch.rpm um-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm Note that the last two packages must be installed simultaneously. Otherwise they will depend on each other
4. Download the third party
The repo sync code is often broken during download.
After it is disconnected, it re-sync, wasting a lot of time
You can use it directly under the project you want to download
Git fetch
This saves the synchronization time.
CD. repo/projects/prebuild
Then git fetch
Reference Article -------------------------------------------------------------------
Git obtains the android source code:
1.Gi
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 process can be implemented in the following cleare
tortoisegit:http://download.tortoisegit.org/tgit/previews/msysgit:https://msysgit.github.io/Question one:"The program ' repo ' was currently not installed. You can install it by typing:sudo apt-get install Phablet-tools "Workaround: Install Phablet-tools# sudo apt-get install Phablet-tools# sudo apt-get install--fix-missing# sudo apt-get update# sudo apt-get install Phablet-tools# Repo Init http://xxxxxxxRe
Restore Problem site:When using VUE init Webpack projectname for the first time, two NPM install-g vue-cli were performed due to operational errors, and then the Webpack template was created using VUE init Vuedemo Vuedemo.VUE-CLI Failed to download repo vuejs-templates/vuedemo:response code 404 (Not Found);Workaround:Perform the following three commands to check the environment:Node-v (lowercase v); If the node version is not displayed, first download
Tags: size HTTP MSS hint Oracle MIC $path image extMount Data Disk#vgdispaly的Total PEInstalling the SQL Server service side1. Download the SQL Server Red Hat repository configuration file:Curl-o/etc/yum.repos.d/mssql-server.repo Https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo2. Installing an instance of SQL ServerYum Install-y mssql-server3. Run mssql-conf Setup Follow the prompts to configure, select the version, set the SA password./opt/mssql/bin/mssql-conf Setup4. Verify t
A private GitHub account A has been used on the machine, and SSH authentication has been addedLater, for public development, a GitHub account B was created, and an error was found when submitting: Remote:permission to User_b/xxx.git denied to user_aUsing git config, git log view user name is account BThe workaround on GitHub (https://help.github.com/articles/error-permission-to-user-repo-denied-to-other-user/) is not suitable, Because the project was
failed to sync branch your might need to open a shell and debug the state of thisrepo.I made some changes to a file a month ago. I just realized today that they didn ' t go anywhere; The GitHub Web-site has a history of my changes.The client has a no indication that anything was out of date (there is no "uncommitted changes"). But there is "unsynced commits":How does i sync unsynced commits?I tried nothing, and I ' M fresh out of ideasi tried clicking Thesync button (whatever that means), but
Some of the key exception contents are:。。。。。。Remote:ERROR:committer Email Address%%%%%%Remote:ERROR:does not match your user account.。。。。。。Remote:ERRO:The following address is current registered:remote:error:******... [Remote REJECTED]XXXX (branch name) ... (Invalid committer)Error: Unable to push some apps to ....Workaround:The above-mentioned red part of the key to solve the problem, literally we can see as invalid submitter, that is, the submitted account is wrong, and then combined with the
1. Installation Configuration Git-daemon-runGit-daemon-run is actually a script management tool used to start Git-daemon.1.1 Create version root (end a)If the/home/git/repositories directory already exists, you do not need to create it, otherwise:sudo su gitcd/home/gitmkdir repositoriescd repositoriesgit init--bare manifest.git1.2 Mounting Git-daemon-run (end a)Apt-get Install Git-daemon-run1.3 Configuring Git-daemon-run (A-end)Vi/etc/sv/git-daemon/runcan see:#!/bin/shexec 2>1echo ' Git-daemon s
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.