Skip to content

Commit

Permalink
feat: udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
hutao06051 committed Sep 24, 2019
1 parent a002ce2 commit 4574a75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/_posts/git_submodule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 如何删除子模块
* 删除.gitmodules文件
* 执行命令:`git rm --cached modulepath`
* 重新将模块添加到`stage``git add modulepath/`,记住这里,需要加一个`/`,代表是将文件添加进去,而不是模块。

0 comments on commit 4574a75

Please sign in to comment.