如何删除git submodule子项

imouse posted @ 2012年11月11日 03:29 in Linux with tags Git submodule , 3129 阅读

1. 编辑.gitmodules,删除对应要删除的submodule的行.

2. 编辑.git/config,删除有对应要删除的submodule的行.

3. 删除命令:

    git rm --cached bundle/xxxx  (PS:此处最后没有符号 / .)

4. 删除对应的目录:

    rm -rf bundle/xxxx

Avatar_small
Knipe 说:
2019年4月01日 18:44

Every person on the town is coming here for the learning of the programming with eh different and velour parts. Here is student will feel like is to be australian assignment writers also have studied from this programming house in the first year.

Avatar_small
seo service UK 说:
2024年2月23日 19:30

Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter