上一页 1 2 3 4 5 6 ··· 34 下一页
摘要: https://stackoverflow.com/questions/5816688/resetting-remote-to-a-certain-commit git reset --hard <commit-hash> git push -f origin master 阅读全文
posted @ 2023-05-05 10:57 yinhuachen 阅读(41) 评论(0) 推荐(0) 编辑
摘要: set -o pipefail causes a pipeline (for example, curl -s https://sipb.mit.edu/ | grep foo ) to produce a failure return code if any command errors. Nor 阅读全文
posted @ 2023-05-05 09:53 yinhuachen 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 参考资料:https://bobbyhadz.com/blog/support-for-password-authentication-was-removed-on-august 1. 创建 github personal access token Visit https://github.com  阅读全文
posted @ 2023-05-04 17:04 yinhuachen 阅读(40) 评论(0) 推荐(0) 编辑
摘要: CMake生成的Makefile的默认目标是由Make工具决定的,而不是由CMake决定的。Make工具将默认目标设置为Makefile中的第一个目标。如果Makefile中没有明确指定默认目标,则默认情况下,Make工具将使用第一个目标作为默认目标。 在CMake中,可以使用 add_execut 阅读全文
posted @ 2023-05-03 17:27 yinhuachen 阅读(109) 评论(0) 推荐(0) 编辑
摘要: git remote add -f b path/to/repo_b.gitgit remote updategit diff master remotes/b/mastergit remote rm b 阅读全文
posted @ 2023-04-26 15:33 yinhuachen 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-04-25 11:19 yinhuachen 阅读(19) 评论(0) 推荐(0) 编辑
摘要: github 的 repo内搜索引擎是有缺陷的,两种解决方法 1. clone 下来后用 find 和 grep 去搜索 2. 使用 github.com/search,参考这几个网页 https://github.blog/2008-11-03-github-code-search/ https: 阅读全文
posted @ 2023-04-24 15:12 yinhuachen 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 如果你使用 python3,import m5 发现没有包 不要着急使用 pip3 去安装 m5,这有可能是 gem5 内置的 python 包,不需要你安装 阅读全文
posted @ 2023-04-23 19:36 yinhuachen 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 重新安装某个包 python3 -m pip install -U --force-reinstall m5 阅读全文
posted @ 2023-04-23 17:30 yinhuachen 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1. 克隆 果壳仓库 master 分支 Date: Sun Sep 11 18:35:03 2022 +0800 2. 循环初始化更新所有子模块 3. make emu-run,发现需要 NEMU,从香山仓库clone NEMU,make riscv64-nutshell-ref_defconfi 阅读全文
posted @ 2023-04-20 16:40 yinhuachen 阅读(60) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 34 下一页