I'm having the following error:
git.exe submodule add -- "D:/Programming/boost_1_50_0" "C:/Users/qwerty/Documents/Visual Studio 2010/Projects/framework"
The following path is ignored by one of your .gitignore files: C:/Users/qwerty/Documents/Visual Use -f if you really want to add it.
git did not exit cleanly (exit code 1)
none of my gitignore files specifies C:/Users/qwerty/Documents/Visual even remotely.
When I try the -f flag I get the following message:
Adding existing repo at 'C:/Users/qwerty/Documents/Visual Studio 2010/Projects/ framework' to the index fatal: 'C:/Users/qwerty/Documents/Visual Studio 2010/Projects/framework' is outs ide repository Failed to add submodule 'C:/Users/qwerty/Documents/Visual Studio 2010/Projects/ framework'
Solved the problem by replacing the command:
git.exe submodule add -- "D:/Programming/boost_1_50_0" "C:/Users/qwerty/Documents/Visual Studio 2010/Projects/framework"
with:
git.exe submodule add -- "D:/Programming/boost_1_50_0" ""
Whereas C:/Users/qwerty/Documents/Visual Studio 2010/Projects/framework
is the current working directory.