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

边栏推荐
猜你喜欢

Qt新建项目

Development and design of animation surrounding mall sales website based on php+mysql

Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022

The most complete analysis of Flink frame window function

Fabric. JS zoom canvas

提示:SQL Server 阻止了对组件‘Ad Hoc Distributed Queries ‘的STATEMENT ‘OpenRowset/OpenDatasource“”

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

Launcher startup process

Chinese science and technology from the Winter Olympics (III): the awakening and evolution of digital people

Uniapp automated test learning
随机推荐
Fabric.js 上划线、中划线(删除线)、下划线
每天坚持20分钟go的基础二
MySQL 45 lecture - learning from the actual battle of geek time MySQL 45 Lecture Notes - 04 | easy to understand index (Part 1)
String matching problem
NLA自然语言分析,让数据分析更智能
P1042 [noip2003 popularization group] Table Tennis
Talk about idempotent design
删除元素(带过渡动画)
Daily learning 3
NLA natural language analysis realizes zero threshold of data analysis
Method of creating linked server for cross server data access
php链表创建和遍历
[Hongke technology sharing] how to test DNS server: DNS performance and response time test
没有从远程服务器‘‘映射到本地用户‘(null)/sa‘的远程用户‘sa‘及服务主密码解密错误的解决办法
Fabric. JS upper dash, middle dash (strikethrough), underline
腾讯云 TStor 统一存储通过信通院首批文件存储基础能力评测
Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
buuctf-pwn write-ups (7)
2. Const pointer
docker mysql