gitclone报错:fatal:index-packfailed解决办法xxxx@LAPTOP-LQF2J8H0 MINGW64 /d/Users/xxx/venv/program (master)
git Cloning into 'program'... remote: Enumerating objects: 1417, done.
remote: Counting objects: 100% (1417/1417), done.
remote: Compressing objects: 100% (945/945), done.
fatal: --stdin requires a git repository
fatal: index-pack failed
报错原因是当前⽂件夹并⾮git⽬录,在当前⽬录下进⾏设置后即可clone project
执⾏以下命令:
$ git ail "your email address"
$ git config user.name "username"
执⾏完成后,执⾏clone命令:
Cloning into 'program'...
remote: Enumerating objects: 1417, done.
remote: Counting objects: 100% (1417/1417), done.
remote: Compressing objects: 100% (945/945), done.
cloneReceiving objects: 13% (191/1417), 308.00 KiB | 8.00 KiB/s
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论