git报错 fatal:open /dev/null or dup failed: No such file or directory
2015-08-04 09:10
746 查看
今天突然发现git无法做任何操作了,报了上面的错,各种百度谷歌都没有得到解决的方案。我重装了git,重启电脑仍然没有解决,开来不是git软件的问题而是系统问题。
null是比较特殊的系统文件,它实际上是为操作系统提供一个虚拟设备,这个搜索设备的驱动程序是C:WINDOWS\system32\drivers\null.sys
解决方案:
以win7为例,右键点击计算机-管理-查看,勾选显示隐藏的设备:
点击非即插即用驱动程序
右键点击Null-属性-驱动程序-如果已经启动则点击停止,再点击启动,类型选择为启动
最后重启电脑大功告成.
相关文章推荐
- 2015 Multi-University Training Contest 5
- Why Reflection is slowly?(Trail: The Reflection API)
- Why Reflection is slowly?(Trail: The Reflection API)
- BZOJ4049 : [Cerc2014] Mountainous landscape
- hdu-5318 The Goddess Of The Moon(2015 Multi-University Training Contest 3)
- JetBrain WebStorm 注册码
- Amazon EC2 Container Service笔记
- LeetCode DB: Duplicate Emails
- 2015 Multi-University Training Contest 4
- LeetCode DB : Delete Duplicate Emails
- On Explainability of Deep Neural Networks
- Failed to instantiate the default view controller
- Hdu 3289 Rain on your Parade (二分图匹配 Hopcroft-Karp)
- leetcode 70: Climbing Stairs
- POJ1273 Drainage Ditches (最大流+入门题)
- HDU 1532 Drainage Ditches(最大流)
- 服务器中很多的CLOSE_WAIT
- Traffic jam caused by the rain (3rd Aug.2015)
- 【HDOJ 1532】 Drainage Ditches(最大流模板)
- selection does not contain a main type