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:

65 questions
0
votes
1 answer

One git repo for Android+web service

How can we use a single git repository for Android application + web service back-end ? Generally its done separately . But its mandatory for us to use a single repository and our contribution to be shown .
0
votes
2 answers

Create a fat git repository based on git submodules

I'd like to know, if it's possible to do this: git clone --recursive git remote add fat-repository ??? git add -A && git commit -m "Test" && git push fat-repository master Step 3 would de-submodule the…
thescouser89
  • 111
  • 2
0
votes
1 answer

git-repo (aosp repo) tool checking-out projects again from local cache

We use the google git-repo tool (aosp repo) to manage a workspace of many git repositories. However, if you want to do a clean checkout that is exactly the same as the last workspace, using the command repo sync will pull in all the changes from…
minghua
  • 4,544
  • 4
  • 31
  • 63
0
votes
2 answers

Azure Devops pipeline, multi branch trigger doesn't work

I'm working for the first time with Azure Devops Pipelines. I'm using a .yml file. But I can't figure out why the pipeline won't run when I checkout and push a branch from develop to "releases/*. It just won't trigger even when there are changes in…
Mattyy
  • 13
  • 4
0
votes
1 answer

Mirror code from Azure repository to aws code commit

I am moving my code repository from bitbucket to Azure repository. The issue I am facing is that I can set up hook in bitbucket that would mirror the repository to AWS code commit. However, I could not find such functionality in Azure repository Is…
Xavier
  • 358
  • 6
  • 18
0
votes
1 answer

.Git inside git repo and branch are not showing

I'm running into trouble with my git repo. I had a bunch of branch that I realize are missing and I came to this conclusion. My file structure looks like this REPO-A -/hooks -/info -/objects -/ref -config -description …
Tendy
  • 25
  • 4
0
votes
2 answers

How to maintain source code for same base software but for two different hardware with say 3% variation

I maintain a code base that is targeted for 2 hardware devices. These versions differ in some hardware specific and feature specific ways. This variation might be around 3-4 % of the code base. Should I maintain this as 2 branches of the same repo…
kiran
  • 485
  • 1
  • 8
  • 24
0
votes
1 answer

What is the size limit of each git repository created in azure devops

What is the size limit of Git azure devops repository,in microsoft docs it says 10gb so this 10 gb is for all the repositories collectively or separately for each repositories .…
Chandan Kumar
  • 57
  • 1
  • 6
0
votes
1 answer

Delete Commit on Github through Browser

This is my first time using github and I was having trouble with some of the commands and committed the same thing about 7 times through terminal. I don't know how this is possible because I thought you could only commit if there are changes made in…
user12960916
0
votes
0 answers

Connecting to git-repo to list all the files available in repository

The below code I am using to connect git-repo to list all the files available in the mentioned repository path. It fails specifying the error 'socket.gaierror: [Errno 11001] getaddrinfo failed' Tried accessing using user credentials. But the same…
Shubhankar
  • 95
  • 1
  • 14
0
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
  • 861
  • 1
  • 7
  • 16
0
votes
1 answer

How to reduce the size of the remote repo by deleting size-hungry branch?

In our git repo, one of the branches contains binary files that were committed and pushed to the remote repo for testing, however this has led to unintended consequence of filling up the size of our repo. After doing some research here and here and…
LeanMan
  • 225
  • 3
  • 12
0
votes
1 answer

Trouble pushing code to gitlab repository

Project owner (michael365) maintain a repository and has provided developer access to me. I am trying to push the code but I am getting this error remote: GitLab: API is not accessible To gitlab.com:michael365/bim.git ! [remote rejected]…
Atinesh
  • 1,392
  • 5
  • 24
  • 46
0
votes
1 answer

Use git repository as private NPM registry

Want to use git repository as a private npm registry to publish my own npm packages. I have tried with the publishConfig and npm config set registry <>. When I am setting the npm registry with npm config set registry <> and try to login with npm…
0
votes
1 answer

Switching between projects in different Repository Management Services (bitbucket, GitLab) using git

I have already a project on GitLab which I've been working on, and recently I've been assigned another project on bitbucket. I already understand that when I work on a project and I need to push, pull, add, commit etc. then I need to ensure I'm…
pymat
  • 858
  • 15
  • 31