1.常用adb命令
adb root 用户权限
adb remount 写权限
adb disable-verity写权限失败时执行,然后reboot
adb shell终端控制设备,命令行终端
adb shell input keyevent 4 返回
ps list package 查看所有应用 + | grep XXX
adb reboot bootloader fastboot 进入fastboot模式
fastboot reboot 退出fastboot
adb push 本机pwd 机器pwd
adb pull 远程拉取到本地
adb install -r *.apk 安装apk
adb wait-for-device 等设备的device启动
adb device查看连接的设备
adb shell dmesg 抓kernel的log
adb logcat抓串口log
adb reboot edl进入烧机模式
2.常用repo命令
repo status 查看整个worktree状态
repo branches 查看本地worktree上工作分支情况
repo abandon <分支名字> {<git库名>--all} 删除
git push orign + 路径 向gerrit提交修改
repo sync .同步当前路径的代码
3.git提交冲突:
git log查看最新commit idgit reset --hard e33c*****653df3(最新commit id)- 同步代码
repo sync . - cherry pick自己提交的有冲突的代码
git status查看提示有冲突的文件,进行修改git add .提交解决冲突后的代码git cherry-pick --continue取消拣选操作,提交解决冲突后的代码 或git commit -agit push ***
9561

被折叠的 条评论
为什么被折叠?



