当前位置:网站首页>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,成功:

边栏推荐
- Tencent cloud tstor unified storage passed the evaluation of the first batch of basic file storage capabilities of the ICT Institute
- Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022
- Solving the longest subsequence with linear DP -- three questions
- Use of swagger
- Data Lake (11): Iceberg table data organization and query
- socket(套接字)与socket地址
- Packet capturing tool Fiddler learning
- Fabric.js 手动加粗文本iText
- Some interview suggestions for Android programmers "suggestions collection"
- Development and design of animation surrounding mall sales website based on php+mysql
猜你喜欢

Yyds dry goods inventory software encryption lock function

QT new project

Fabric.js 上划线、中划线(删除线)、下划线

Penetrate the remote connection database through the Intranet

Daily learning 3
![[to be continued] [UE4 notes] l5ue4 model import](/img/6b/d3083afc969043dbef1aeb4fccfc99.jpg)
[to be continued] [UE4 notes] l5ue4 model import

联合搜索:搜索中的所有需求

Daily learning 2

Fabric. Usage of JS eraser (including recovery function)
![[deep learning] simple implementation of neural network forward propagation](/img/a6/9b4896c62e9b77f9d528c3c9efc58f.jpg)
[deep learning] simple implementation of neural network forward propagation
随机推荐
NLA natural language analysis realizes zero threshold of data analysis
< schematic diagram of oral arithmetic exercise machine program development> oral arithmetic exercise machine / oral arithmetic treasure / children's math treasure / children's calculator LCD LCD driv
STM32库函数进行GPIO初始化
obsidian安装第三方插件——无法加载插件
1、编辑利器vim
Development and design of animation surrounding mall sales website based on php+mysql
Custom events, global event bus, message subscription and publishing, $nexttick
uniapp自动化测试学习
Use of freemaker
Some interview suggestions for Android programmers "suggestions collection"
每天坚持20分钟go的基础二
[deep learning] simple implementation of neural network forward propagation
Fabric.js 动态设置字号大小
天猫商品详情接口(APP,H5端)
数据库连接池和数据源
STM32 library function for GPIO initialization
freemarker的使用
Fabric. JS free draw circle
字符串匹配问题
taobao.logistics.dummy.send( 无需物流发货处理 )接口,淘宝店铺发货API接口,淘宝订单发货接口,淘宝r2接口,淘宝oAu2.0接口