Hacker News new | past | comments | ask | show | jobs | submit login

git still expands wildcards even if you dont run it under msys.

    git add \*.cpp  
works just fine in powershell and cmd.exe



That would confuse the heck out of me; what if I wanted to add a file named "*.cpp"?


I 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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: