当前位置:网站首页>fatal: unsafe repository is owned by someone else 的解决方法
fatal: unsafe repository is owned by someone else 的解决方法
2022-07-02 14:34:00 【Ayka】
在 git clone https://github.com/riscv-collab/riscv-gnu-toolchain 後執行
cd riscv-gnu-toolchain
mkdir build && cd build
../configure --prefix=/opt/riscv32 --with-arch=rv32imc
sudo make -j8後報錯:
fatal: unsafe repository is owned by someone else
即使根據提示執行了
git config --global --add safe.directory /home/ayka-tsuzuki/riscv-gnu-toolchain添加 safe.directory 並執行
git config --list確認已添加後仍然無效。執行
sudo chown -R ayka-tsuzuki .更改文件夾所屬用戶也無效。最後删除克隆的倉庫,使用
git clone https://github.com/riscv/riscv-gnu-toolchain --recursive命令(添加 --recursive 參數)重新克隆後,再次執行之前的命令 make,成功:

边栏推荐
- Fabric.js 橡皮擦的用法(包含恢复功能)
- NLA自然语言分析,让数据分析更智能
- <口算练习机 方案开发原理图>口算练习机/口算宝/儿童数学宝/儿童计算器 LCD液晶显示驱动IC-VK1621B,提供技术支持
- obsidian安装第三方插件——无法加载插件
- 一般来讲,如果频繁出现inconsistent tab and space的报错
- 每日学习3
- 给Android程序员的一些面试建议「建议收藏」
- [Hongke technology sharing] how to test DNS server: DNS performance and response time test
- Generally speaking, if the error of inconsistent tab and space occurs frequently
- 每日学习2
猜你喜欢

What is erdma? Popular science cartoon illustration

php链表创建和遍历

STM32 library function for GPIO initialization

途家木鸟美团夏日折扣对垒,门槛低就一定香吗?
![[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)](/img/de/7d70f513577e93f1bde1969935a29e.jpg)
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)

MQ教程 | Exchange(交换机)

由粒子加速器产生的反中子形成的白洞

Packet capturing tool Fiddler learning
![[development environment] StarUML tool (download software | StarUML installation | StarUML creation project)](/img/08/9f25515e600a3174340b2589c81b0e.jpg)
[development environment] StarUML tool (download software | StarUML installation | StarUML creation project)

Uniapp automated test learning
随机推荐
YoloV6训练:训练自己数据集遇到的各种问题
提示:SQL Server 阻止了对组件‘Ad Hoc Distributed Queries ‘的STATEMENT ‘OpenRowset/OpenDatasource“”
The most complete analysis of Flink frame window function
Daily learning 3
天猫商品详情接口(APP,H5端)
C crystal report printing
threejs的控制器 立方体空间 基本控制器+惯性控制+飞行控制
没有从远程服务器‘‘映射到本地用户‘(null)/sa‘的远程用户‘sa‘及服务主密码解密错误的解决办法
给Android程序员的一些面试建议「建议收藏」
Penetrate the remote connection database through the Intranet
跨服务器数据访问的创建链接服务器方法
Do you know that there is an upper limit on the size of Oracle data files?
Fabric.js 上划线、中划线(删除线)、下划线
The evolution process of the correct implementation principle of redis distributed lock and the summary of redison's actual combat
Convolutional neural network (Introduction)
The conference on the growth of all things was held in Hangzhou, and dangbei was selected into the top 100 list of future unicorns in China in 2022
QT new project
一张图彻底掌握prototype、__proto__、constructor之前的关系(JS原型、原型链)
Pycharm连接远程服务器
Quarkus学习四 - 项目开发到部署