adb devices
adb connect 173.20.10.12:7777
adb shell am start 包名/啟動activity
shell 命令
cat * > 111.tar 先合一下
adb logcat | grep HVAC_MODE
查找文件中的log
cat * | grep -e "Boot complete"
cat /Users/percy.chen/Desktop/111.txt | grep -Ei "Boot complete"
adb shell ps | grep -ie "androidtime"
pwd 查看具體路徑
/Volumes/aosp2/nt2.2/vendor/nio/packages/apps/NioCarSystemUI
檢出分支stage 指定跟蹤遠(yuǎn)程分支nevos/stage
git checkout -b stage nevos/stage
git checkout -b com3-dev-450 origin/com3-dev-4550 檢出分支
git checkout -- . 撤銷工作區(qū)中所有已修改但尚未提交的更改,并將文件恢復(fù)到最近一次提交的狀態(tài)。
git status 查看當(dāng)前分支狀態(tài)
git branch -vv 查看分支信息
git pull
git fetch
git commit --signoff 第一次提交
git pull --rebase 拉取遠(yuǎn)端代碼到本地
git push origin HEAD:refs/for/nio-nt3.0-dev-4550 代碼推到遠(yuǎn)端分支
git add .
git commit --amend 追加提交
git pull --rebase
git push origin HEAD:refs/for/nio-nt3.0-dev-4550
git cherry-pick --no-commit 3be0fd60f8ed335e9a0b7680391433