git – modified content, untracked content
Yet, another issue :)
# Changes not staged for commit: # (use "git add..." to update what will be committed) # (use "git checkout -- ..." to discard changes in working directory) # (commit or discard the untracked or modified content in submodules) # # modified: XCode/Apple/F1000W (modified content, untracked content)
The point here is, that Xcode uses git for it’s internal snapshot repository.
For me, it is not important, so I simply removed the file
./XCode/Apple/F1000W/.git
December 22nd, 2013 in
main entries
add this to bashrc, source it and type “gitsubupdate”, every thing get clean,LUCK!
# gitsubupdate
function gitsubupdate()
{
fn=`git commit | grep ‘modified:’ | sed -e ‘s/.*: *\(.*\) .* .*/\1/g’`
for name in $fn
do
rm -rf $name
rm -rf ‘./git/submodule/’$name
git submodule init
git submodule update
done
}