Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Google's repo tool on MS Windows OS?

I installed git for windows and it works fine(e.g. use one of the following solutions Want to download a Git repository, what do I need (windows machine)?).

I tried to use repo of google but it needs gpg and python 2.7. I installed both and it works fine the only problem is that repo script use some unix oriented features such as symbolic links and fcntl. Is there any alternative code of repo for windows?

I couldn't found some native solution by google. if there is one I'll try to push it into google repo git repository or try to use it as is.

like image 788
0x90 Avatar asked Jan 08 '13 20:01

0x90


People also ask

How does Google repo work?

In the context of Android, we use Git for local operations such as local branching, commits, diffs, and edits. Repo is a tool that we built on top of Git. Repo helps us manage the many Git repositories, does the uploads to our revision control system, and automates parts of the Android development workflow.

What is repo command?

Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.


1 Answers

A working repo tool for windows is available here: https://github.com/esrlabs/git-repo

It requires Python 3+ and git 1.7.2+

Btw, the original forked repo version seems pretty old, so it might not contain all current functionalities.

like image 197
Asimov81 Avatar answered Sep 29 '22 20:09

Asimov81