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
1
vote
0 answers

Git repository clone failed

I use Spring Tools Suite. I'm getting the error below while trying to clone a Git repository. This is the command I'm using in the IDE: Import -> Projects from Git -> Clone URI. I've tried multiple times but keep getting this same error. Can anyone…
Vidz
  • 11
  • 2
1
vote
2 answers

Sync two same project but separate git repos and with different package structure

I need to sync between two different git repos, but both the repos have same project code/files and different package structure. The problem currently facing is I need to clone and push the changes 2 times, is it possible to do a push to both the…
Shashi Kiran
  • 342
  • 1
  • 7
  • 25
1
vote
1 answer

Error while i try to commit changes in Git via Visual studio 2017

I`m trying to commit to my DevOps using Git source. for some reason I cannot proceed with the commit phase. The error: Git failed with a fatal error. error: open("FinalWorkFinder/FinalWorkFinder/App_Data/aspnet-FinalWorkFinder-20190303122718.mdf"):…
1
vote
1 answer

How to configure git server and client repositories on twol local windows systems?

I am trying configure git server and client using two windows(both with windows 10 os) machines. So, I downloaded git Git-2.18.0-64-bit.exe file and installed on both the machine. First I created the user and email using below commands on client…
Parashuram
  • 163
  • 1
  • 4
  • 16
1
vote
0 answers

How to migrate branched to a new repository without commit history?

I created a new git repository and want to migrate some branches to it. However I don't want to migrate the commit history. what I've done: 1 create new repository and use git remote set-url origin XXXXX to switch to the new repo. 2 I have a…
JarryZhou
  • 11
  • 1
1
vote
0 answers

What is the correct command to use to initialize a repo with more than one mirror reference on a local disk?

What is the correct command to use to initialize a repo with more than one mirror reference on a local disk? repo init -u https://android.googlesource.com/platform/manifest -b "branch" --reference="/local/mirror1/dir/aosp"…
NeoBeum
  • 21
  • 5
1
vote
1 answer

Performing multiple operations simultaneously on repo

We are using Google's git-repo tool for our projects. Our workflow is we make changes , merge it to remote and push tags. My question is, is there any problem if I perform multiple operations at the same time on the same same repo/codeline/tree?…
mrutyunjay
  • 4,840
  • 5
  • 22
  • 34
0
votes
0 answers

git.exc.InvalidGitRepositoryError

There are quite a few solutions to this error on Google, but I haven't been able to solve them with those methods. I don't know why. Traceback (most recent call last): . . . File…
ssw101
  • 89
  • 1
  • 6
0
votes
1 answer

Keep two repos in sync without forking

I have a repo inside a GitHub organization. It has its code which depends on some credentials. It will basically look for a file called as environment.properties, which will contain a key-value pair like env=pps, and will then go on to read a file…
Sparker0i
  • 1,464
  • 3
  • 24
  • 45
0
votes
0 answers

Azure Databricks Integration with Azure Git Repos

We have tried to integrate the databricks notebook with a repository in Azure Repo. But, we are getting this below error Error while syncing Git history: Response from Azure DevOps Services: status code: 500, reason phrase:…
0
votes
1 answer

Why does repo sync not pull the correct commit as specified in the manifest XML file?

When performing repo sync it pulls the latest commit from a branch even though it is specified to be a specific commit in the manifest xml file. Why is this happening? The manifest xml file is revision controlled in a repository called…
0
votes
0 answers

R - shiny app - ERROR: Invalid git repo specification: 'ShinySky'

I try to run a shiny app on R studio, I get the error "ERROR: Invalid git repo specification: 'ShinySky'" with the message at the console: "there is no package called ‘shinysky’ Warning: Error in parse_repo_spec: Invalid git repo specification:…
sebgok
  • 5
  • 1
0
votes
0 answers

Is there a good reason why working trees should be created at the same directory hierarchy level as the git repo?

When I went through many tutorials related to git worktree, everywhere in the command which was used to demonstrate the creation of worktree, .. was used for the path where the working tree should be created - which indicates that the new working…
Darshan L
  • 696
  • 7
  • 16
0
votes
0 answers

Can I push my local django project to git as different submodules?

I have a Django project with different apps in it. I have my project already pushed to a Git repo. What I wanted to is a way by which I can create separate Git repos (maybe called submodules) for my apps along with them included in my Project…
0
votes
1 answer

git log -p without contents of deleted files

I'm assigned to a task to delete unnecessary files from our git repository. This results in deleting many files and editing few others. When I issue git show or git log -p my screen is flooded with the contents of the deleted files and I can hardly…
Notinlist
  • 14,748
  • 9
  • 51
  • 92