git Submodule的使用

當一個項目須要包含其餘支持項目源碼時使用的功能,做用是兩個項目是獨立的,且主項目能夠使用另外一個支持項目。git git submodule add <submodule_url> # 添加子項目 添加子項目後會出現.gitmodules的文件,這是一個配置文件,記錄mapping between the project's URL and the local subdirectory。且.gi
相關文章
相關標籤/搜索