How to get rid of Git submodules untracked status?

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

    This worked out just fine for me:

    git update-index --skip-worktree 
    

    If it doesn't work with the pathname, try the file name. Let me know if this worked for you too.

提交回复
热议问题