4 ms·
git still expands wildcards even if you dont run it under msys. git add \*.cpp works just fine in powershell and cmd.exe
by maccard 5y ago
git still expands wildcards even if you dont run it under msys.
git add \*.cpp
works just fine in powershell and cmd.exe
- aidenn0 5y agoThat would confuse the heck out of me; what if I wanted to add a file named "*.cpp"?
- maccard 5y agoI think you're going to open a world of hurt by doing that. The windows command tools don't really like .cpp, or a.cpp for files. If you _do_ have a file called .cpp and another called a.cpp in the same directory, explorer will display the asterisk as a missing character. calling `del .cpp` will delete both files too.