记一次 Git 命令行操作
$ git add . error: open("文件.xlsx"): Permission denied error: unable to index file '文件.xlsx' fatal: adding files failed
要处理的文件处于打开状态,所以 Git 无法为你追踪文件(添加失败)。
将要追踪的文件完全关闭即可。如果还是失败,尝试重启电脑。