Problem: to add files at ./shells/smallApps/* to Git at ./.git/ when I do not have the files at ./.git/info/exclude nor at any .gitignore -files.
This question is based on this tread where the problem is not solved completely.
I run
$git status                                                                                                                                          ~/bin
# On branch master
nothing to commit (working directory clean)
$git ls-files                                                                                                                                        ~/bin
Screen/dev/vim-open.screen
--- cut ---
I note that I do not have the files "shells/smallApps/*" at my Git
$ls shells/smallApps/                                                                                                                                ~/bin
devTodo     extract     
                                                                                                                                             ~/bin
I want to add them to my Git by running
$git add shells/smallApps/devTodo shells/smallApps/extract
fatal: Path 'shells/smallApps/devTodo' is in submodule 'shells/smallApps'
$git add .         
I note that the files are not added to my Git for some reason such that
$git status                                                                                                                                          ~/bin 
# On branch master
nothing to commit (working directory clean)
I do not have the files at .git/info/exclude nor at .gitignore -files.
What does the last warning mean?
 
     
     
     
    
git submodule addcommand? – Tim Henigan Jul 08 '09 at 18:24