免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1477 | 回复: 0
打印 上一主题 下一主题

[其他] 求解决git checkout的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-10 12:11 |只看该作者 |倒序浏览
本帖最后由 yizhengming 于 2012-12-10 12:12 编辑
Xv6 sources and text
The latest xv6 source is available via

git clone git://pdos.csail.mit.edu/xv6/xv6.git

We also distribute the sources as a printed booklet with line numbers that keep everyone together during lectures. The booklet is available as xv6-rev7.pdf. To get the version corresponding to this booklet, run

git checkout -b xv6-rev7 xv6-rev7

The xv6 source code is licensed under the traditional MIT license; see the LICENSE file in the source distribution. To help students read through xv6 and learn about the main ideas in operating systems we also distribute a textbook/commentary for the latest xv6. The line numbers in this book refer to the above source booklet.

xv6 compiles using the GNU C compiler, targeted at the x86 using ELF binaries. On BSD and Linux systems, you can use the native compilers; On OS X, which doesn't use ELF binaries, you must use a cross-compiler. Xv6 does boot on real hardware, but typically we run it using the QEMU emulator. Both the GCC cross compiler and QEMU can be found on the 6.828 tools page.

按上面的说明 我在本地git checkout -b xv6-rev7 xv6-rev7  出现下面的问题

fatal: git checkout:更新路径和切换分支不兼容。
您是想要检出 '*/xv6-rev7' 但未能将其解析为提交么?

求解决(还有git checkout -b xv6-rev7 xv6-rev7中的第二个xv6-rev7是什么意思, 第一个我知道是创建一个名为xv6-rev7的本地分支,并切换到这个分支)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP