AngularJs bower install 卡主不动解决办法

,在开发过程中,前端的依赖包都是使用bower来进行安装的,但是经常就是下载不了package特别的苦恼,这里顺便要抱怨一下github,不是一般的慢!!

后来在stackoverflow找到一个方法,记录一下,它的思路是用https的协议去访问和下载,而不用bower默认的git协议

对全局的git做如下的配置:

git config --global url."https://".insteadOf git://

 angularjs 参考资料:http://www.lifelaf.com/blog/?p=1206

                             http://blog.csdn.net/calreykhal/article/details/38405537

                             http://www.cnblogs.com/wylking2000/p/3897086.html

                            

posted @ 2015-03-25 17:39  大脸  阅读(1276)  评论(0编辑  收藏  举报