With the usual git repo that I created using git clone
, I can easily use git archive
to export it to a tar archive, in the case that I am only interested in the current snapshot and not the entire history of the git repository.
Can I do the same with an Android repo that is created using repo init
and repo sync
? If so how do I do it? I am not familiar with what Android repo
script does.
Asked
Active
Viewed 743 times
2
1 Answers
0
If you just want a snapshot, why not simply use tar
? (tar
has --exclude
pattern.)

weakish
- 28,682
- 5
- 48
- 60
-
True...just curious if there is some repo equivalent of git-archive, since git archive let us specify revision right? – xyz May 08 '12 at 09:17
-
It seems that `repo` is built upon git (a frontend), so I think `git archive` should just work. – weakish May 08 '12 at 09:51