Questions tagged [git-repo]

Repo is a tool built by Google that works on top of Git. Repo helps manage many Git repositories, uploads to a revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.

Repo is a tool built by Google that works on top of Git. Repo helps manage many Git repositories, uploads to a revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.

To work with the Android code, you will need to use both Git and Repo. In most situations, you can use Git instead of Repo, or mix Repo and Git commands to form complex commands. Using Repo for basic across-network operations will make your work much simpler, however.

See these documentation pages for more information:

99 questions
2
votes
2 answers

How to merge two git repositories without loosing the history for either repositories

I required to merge two repositories without loosing the history of either. I searched several forums but none could provide a complete solution. After performing several steps taken from various sources I could manage to join the missing dots and…
Nitin Suri
  • 960
  • 1
  • 8
  • 20
2
votes
1 answer

How to delete a git remote tag in linked repository?

I am having Development, Staging & Production repository. Cycle: Development --> Staging --> Production Development remote: origin Staging remote: Development & origin Production remote: Staging & origin is it possible to remove git tag from all…
2
votes
0 answers

Is it possible to include a DOCTYPE reference to a DTD inside a Repo manifest XML file?

I have written a manifest XML file for repo (or git-repo, Gerrit Repo, Google's Repo depending on how you like to name it). To help check my syntax, I attempted to generate a Document Type Definition (DTD) file to go with it based on the repo…
TafT
  • 2,764
  • 6
  • 33
  • 51
2
votes
3 answers

use android repo tool with github or gitlab

I'm trying to mirror every android repo to my gitlab account. After I imported ALL of repositories, I tried to use git-repo (repo tool from google) to build android from source. I changed these line in my default.xml manifest:
2
votes
1 answer

integrating vendor Android changes into aosp

I am trying to integrate AOSP device changes into a standard AOSP, local mirror. This is a bit confusing but I will try to be as clear as possible. I created a local mirror of the AOSP repo on a server (different local computer) The vendor patches…
2
votes
2 answers

git-repo how to list all branches in one google repo?

is there any way to list all branches in google repo? I found it is very difficult to understand repo. Here only provide very few commands which does not not provide a list branch mechanism.
Wang
  • 7,250
  • 4
  • 35
  • 66
2
votes
2 answers

Creating a default manifest for git-repo

I'm trying to use git repo for my own project. I understand I have to create a default.xml file and using to link to all the repositories available but It's not clear how to do that. I tried creating a simple xml file and put in on a server. I also…
johnlemon
  • 20,761
  • 42
  • 119
  • 178
1
vote
2 answers

How to relocate the git-repo urls?

I'm trying to build driver for qca8081 phy and notice that it is pointing to old CAF URLs. That is causing problem when I tried to perform repo sync per their driver build guide following is CLI, but it doesn't work. repo init -u…
user19410404
  • 106
  • 7
1
vote
1 answer

Spring Cloud Config Server with GIT Repo configured is not starting up successfully

I am building Spring Cloud Config server with Sprint Boot v2.6.12 and Spring Cloud Config Server v3.1.1. Below is the application.yml configuration, spring: application: name: config-server main: allow-bean-definition-overriding: true …
1
vote
1 answer

Git Repository - Error Code 128 when merging two pdfs

After I committed two PDFs using "Git add - a", it led to my next problem, Error 128. I am very new to this Get Repository thing. I am not sure how to fix it with the Go Daddy Terminal. Any help is sincerely appreciated.
Sam Mah
  • 31
  • 6
1
vote
1 answer

How to link commits to User Story automatically using Visual Studio?

I have a git repo in Azure DevOps Repos, I also have a test User Story set up. I want to set up user story to be linked to my commits automatically. Please help how to do it. Thanks in advance.
Liza
  • 33
  • 5
1
vote
1 answer

should I copy .repo directory before or after build

I'm novice in android development and google's git-repo so please bear with me. I found the this thread but it doesn't discuss about my question. I'm working on to store the required android Q code (from our platform provider) downloaded from…
user19410404
  • 106
  • 7
1
vote
3 answers

Branch Name did not display in the left bottom corner of vs code

Screenshot of VS Code. It helps to know about an issue which I am facing:
1
vote
1 answer

Azure devOps repo is not synced with my git repo

My git repo has been connected to my project repo in azure devops. Later on, I created a new branch in my git repo. But I don't see this new branch in my azure repo. Shouldn't they be synced? Update: Eventually, I figured out that azure DevOps repo…
Maryam
  • 11
  • 3
1
vote
1 answer

Merge a commit from a branch in repositoryA to a branch in repositoryB

Assuming I have two repositories called repositoryA and repositoryB. I need to merge a commit abcdefgh which is in a branch in repositoryA and called branchA to another branch called branchB and located in repositoryB. in repositoryB: git checkout…