git命令報(bào)錯(cuò):fatal: not a git repository (or any of the parent directories): .git husky - git command not found, skipping install
報(bào)錯(cuò)原因:
沒有初始化git本地版本管理倉庫,在打開文件的子目錄層級(jí)中不包含.git文件,所以無法執(zhí)行g(shù)it命令。
解決方案:
執(zhí)行g(shù)it初始化 ,進(jìn)行初始化
git init
查看其狀態(tài)文章來源:http://www.zghlxwxcb.cn/news/detail-761350.html
git status
參考:執(zhí)行g(shù)it命令報(bào)錯(cuò):fatal: not a git repository (or any of the parent directories): .git文章來源地址http://www.zghlxwxcb.cn/news/detail-761350.html
到了這里,關(guān)于git命令報(bào)錯(cuò):fatal: not a git repository (or any of the parent directories): .git husky - git command not的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!