git add readme.txt fatal: pathspec 'readme.txt' did not match any files

git创建readme.txt文件时报错

解决办法:手动创建,然后输入命令行touch readme.txt

猜你喜欢

转载自blog.csdn.net/zhangyr_student/article/details/81546456