简体   繁体   中英

Copying Android source code directory from one computer to an other one

I have downloaded the Android source code on my computer using the repo sync command. Since I have no experience with git and repo , I would like to know if it is possible to copy the mydroid directory (which contains Android source code) to an other computer by just burning it on a DVD and then processing the build without problems.

Thanks in advance and sorry if my question is stupid

Yes, all you have to do is to copy the directory containing .git directory. You can test it out by copying it locally and then going into that copied directory and perform a few git commands (like git log ).

是的,复制Android根目录可以正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM