Return to site

Git submodule untracked content

broken image
broken image
broken image
broken image

If you see any untracked files in here, just do this to remove them: git reset -hard HEAD Head into the submodule's directory and make sure there isn't anything being built (an output of some kind) w/o you knowing. Found thanks to Synchronizing plugins with git submodules and pathogen vimcast. Example: Īs seen at NilsH's How to ignore changes in git submodules. gitignore in upstream.) Solution 2Īdd ignore = dirty to each problematic submodule section in. (In the case of untracked files in a submodule, this is frequently a build product that has not been added to. In either case, the way to figure out what is modified / untracked is to change into the submodule directory and run git status. There is also some untracked (and unignored) content in the submodule vim/bundle/sparkup. One of the tracked files in vim/bundle/pathogen has been modified somehow.

broken image