当前位置:网站首页>fatal: unsafe repository is owned by someone else 的解决方法
fatal: unsafe repository is owned by someone else 的解决方法
2022-07-02 11:21: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,成功:

边栏推荐
- tmall.product.schema.get( 产品信息获取schema获取 ),淘宝店铺上传商品API接口,淘宝商品发布接口,淘宝商品上传API接口,店铺上传接口,oAuth2.0接口
- Custom events, global event bus, message subscription and publishing, $nexttick
- 快解析:轻松实现共享上网
- Design and implementation of car query system based on php+mysql
- YOLOv3&YOLOv5输出结果说明
- 什么是 eRDMA?丨科普漫画图解
- Golang 快速生成数据库表的 model 和 queryset
- Fabric. JS manual bold text iText
- Tencent cloud tstor unified storage passed the evaluation of the first batch of basic file storage capabilities of the ICT Institute
- Some interview suggestions for Android programmers "suggestions collection"
猜你喜欢

taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口

kaggle如何使用utility script

Packet capturing tool Fiddler learning

##51单片机实验之简易验证码发生器

MQ教程 | Exchange(交换机)

Yyds dry goods inventory software encryption lock function

Daily learning 3

Default slot, named slot, scope slot

Pycharm连接远程服务器

快解析:轻松实现共享上网
随机推荐
【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境
[to be continued] [UE4 notes] l5ue4 model import
STM32 library function for GPIO initialization
Data consistency between redis and database
4、数组指针和指针数组
[development environment] StarUML tool (download software | StarUML installation | StarUML creation project)
Uniapp automated test learning
Openharmony notes --------- (4)
Fabric.js 上划线、中划线(删除线)、下划线
Fabric.js 橡皮擦的用法(包含恢复功能)
Solving the longest subsequence with linear DP -- three questions
buuctf-pwn write-ups (7)
Fabric.js 自由绘制圆形
What is erdma? Popular science cartoon illustration
一般来讲,如果频繁出现inconsistent tab and space的报错
Tencent cloud tstor unified storage passed the evaluation of the first batch of basic file storage capabilities of the ICT Institute
freemarker的使用
Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)
Fabric. JS upper dash, middle dash (strikethrough), underline
联合搜索:搜索中的所有需求