简体   繁体   中英

Android Version Control and Git

I have a large Android Library project of reusable components that multiple application use. This library is under git control. The multiple applications that use this Android Library need to point to different commits of the Android Library project (Git Submodules). But Eclipse does not let submodules be children directories of the current project but rather siblings in the current workspace. How can I make this work?

For instance if I update the Android Library for and one of the applications, I still want the other application pointing to the original commit of the Android Library.

Any help would be much appreciated...

对于我的项目,我将子模块保存为原始项目中的子目录,然后将子模块作为单独的项目与父项一起导入。

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