Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2918367
  • 博文数量: 401
  • 博客积分: 12926
  • 博客等级: 上将
  • 技术积分: 4588
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-22 14:51
文章分类

全部博文(401)

文章存档

2015年(16)

2014年(4)

2013年(12)

2012年(82)

2011年(98)

2010年(112)

2009年(77)

分类:

2012-04-13 11:10:08

已经下载了Android源码,但是现在需要想更新,便可以直接使用repo sync同步到本地。
可能会出现如下错误:
repo sync
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 6 (delta 2), reused 6 (delta 2)
Unpacking objects: 100% (6/6), done.
From git://github.com/richi-chen/Pandaboard-ICS-repo
   3ea7f09..11ecd6d  master     -> origin/master
   534d620..5fa74f5  omapzoom   -> origin/omapzoom
error: .repo/manifests/: contains uncommitted changes
网友解决:
richi 大虾:
to recover any uncommitted change, you should use 'git stash' and 'git clean -f -d'
for example: if you find it say there are uncommitted changes in .repo/manifests, you shoud 'cd .repo/manifests' and then 'git stash', 'git clean -f -d'
阅读(1922) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~