解决 Git 错误 'fatal: not a git repository (or any of the parent directories): .git'
这个错误通常是因为当前目录不是一个 Git 仓库导致的。请确认你正在一个包含 '.git' 目录的正确的 Git 仓库目录下运行此命令。你可以使用 'git status' 命令来检查当前目录是否是一个 Git 仓库。如果不是,你可以使用 'git init' 命令来初始化一个新的 Git 仓库。
原文地址: https://www.cveoy.top/t/topic/qytq 著作权归作者所有。请勿转载和采集!