How to get rid of Git submodules untracked status?

后端 未结 10 1529
轻奢々
轻奢々 2020-12-07 08:14

I can\'t seem to get rid of untracked content in Git\'s submodules. Running git status yields:

# On branch master
# Changes not staged for commit:
#          


        
10条回答
  •  佛祖请我去吃肉
    2020-12-07 08:32

    It could be due to the detached HEAD in your submodule branch. If this is the case, go into your submodule path (e.g.: ./bundle/snipmate), then rungit checkout master.

提交回复
热议问题