macos - 从 Windows 将 git repo 克隆到共享的 Mac OS X(文件夹)
问题描述
从 Windows 将 git repo 克隆到共享的 Mac OS X(文件夹)
我无法通过 LAN 克隆共享文件夹中的 git 存储库,如果有人可以在这里提供帮助,请告诉我
Cloning into '\\<ip address>\Demo\Demo_1\Demo_Test'...
POST git-upload-pack (152 bytes)
POST git-upload-pack (190 bytes)
remote: Enumerating objects: 3, done.
remote: Counting objects: 33% (1/3)
remote: Counting objects: 66% (2/3)
remote: Counting objects: 100% (3/3)
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 33% (1/3)
Receiving objects: 66% (2/3)
Receiving objects: 100% (3/3)
Receiving objects: 100% (3/3), done.
error: unable to write file <ip address>/Demo/Demo_1/Demo_Test/.git/objects/pack/5kjserkj343lkjl2k34nsdfjlks.pack: Permission denied
fatal: cannot store pack file
fatal: index-pack failed
已将共享文件夹的读写权限授予管理员、Mac OS 用户、所有人、员工
也为根文件夹尝试了 chmod 递归
解决方案
推荐阅读
- java - android条件语句检查char是否为单引号
- excel - 在一行中特定数量的单元格有内容后,如何取消编辑权限?
- sql - 在某些日期字符串上迭代 SQL 查询
- javascript - 提交 package-lock.json 值得麻烦吗?
- sql-server - 将参数从一个存储过程传递到另一个存储过程
- ionic-framework - 当应用程序在 Ionic 3 的抽屉中时如何更改应用程序导航栏颜色
- python - 是否可以为预训练的 Inception 模型(tensorflow 2.0/Keras)提供 2D 灰度图像?
- python - pyspark:优化对数据帧中的每一行执行sql查询的pandas udf?
- c++ - 返回 T 的引用的 const 函子禁止赋值
- android - 单击带有 RecyclerView 和 DataBinding 的项目后如何调用导航操作?