设为首页 加入收藏

TOP

Android的repo和git使用遇到的疑难杂症
2014-11-24 13:19:04 来源: 作者: 【 】 浏览:0
Tags:Android repo git 使用 遇到 疑难杂症

1.repo sync中遇到error:......checkout ....接一串hashnumber


解决方法:进到它说提示的目录中,用git status显示文件,将修改过的文件删除掉,再重新repo sync


2.repo sync中遇到:contains uncommitted changes


解决方法:进到它说提示的目录中,使用git reset --hard命令


3. 怎么对repo下的所有project执行git命令


解决方法:repo forall -c git checkout -b //该条命令会对repo下的project执行切换branch的命令


4. 怎么切换到你想要的branch


解决方法:git checkout branchName,比如 git checkout testBranch


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android飞行模式灰显不能操作问题.. 下一篇如何在模拟器上向android发送短信..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: