git使用fatal: Not a git repository (or any of the parent directories): .git

网友投稿 1582 2022-10-17

git使用fatal: Not a git repository (or any of the parent directories): .git

git使用fatal: Not a git repository (or any of the parent directories): .git

fatal: Not a git repository (or any of the parent directories): .git 当从github.com上面-下了Firmware后,无意中删除了Firmware目录下的.git文件夹,再去编译就会出现:    fatal: Not a git repository (or any of the parent directories) 的错误。这是由于本地版本管理仓库被删除了,需要重新初始化仓库,建立新的仓库:

git init

$ git init Initialized empty Git repository in F:/kaboshi/vue-muse-kbs/src/views/balancepay/.git/ Alice@DESKTOP-1AQEPBE MINGW64 /f/kaboshi/vue-muse-kbs/src/views/balancepay (master) $ git status On branch master Initial commit Untracked files:   (use "git add ..." to include in what will be committed)         index.vue         list.vue         walletDetails/ nothing added to commit but untracked files present (use "git add" to track) Alice@DESKTOP-1AQEPBE MINGW64 /f/kaboshi/vue-muse-kbs/src/views/balancepay (master) 就可以了。只需要git init

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:pwntools- Python 的 CTF 框架
下一篇:RabbitMQ单机版部署安装过程
相关文章

 发表评论

暂时没有评论,来抢沙发吧~