How to get rid of Git submodules untracked status?

后端 未结 10 1535
轻奢々
轻奢々 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:28

    I prefer to use SourceTree, so the solution for me was to open the submodule repo in SourceTree which shows me list of all untracked files. I then group selected them all then used "Remove".

    I was able to do this because I knew all the untracked files weren't actually needed.

提交回复
热议问题