Angular-cli build with base-href also return programs folder when using git bash
问题 I'm trying to build my angular project with the angular-cli in a MINGW64 docker box on a Windows 7 Pro machine. In git bash, the command I am using is: ng build --prod --base-href /appcontext/ What I am trying to do is to modify my current base tag with attribute href="/" to href="/appcontext/" Instead I get as a result a base tag with href="C:/Program Files/Git/appcontext/" . Anyone any idea? 回答1: Late answer, but I faced with the similar problem and it occured that issue in MINGW (I tried