Git命令:
查看分支:git branch -r
创建并更新本地远程分支:git fetch
切换分支:git checkout 分支名
更新代码:git pull
查看所有commit记录:git log
查看项目Git地址: git remote -v
本地还原被修改的文件:
git clean . -fd
git checkout . -fgit config --global user.email "你的邮箱"
git config --global user.name "你的昵称"
Git完全清除提交信息/重建版本库
ADB命令
adb 通过wifi连接:
adb connect (ip):5555
adb disconnect (ip):5555adb bugreport D:\anrtest
adb install -r APK路径adb shell screenrecord /sdcard/sdcard/screenrecord.mp4 结束的时候就按ctrl+c就行
adb shell screenrecord --time-limit 130 /sdcard/screenrecord.mp4 (单位:秒)
adb pull /sdcard/sdcard/screenrecord.mp4 D:/ adb导出刚刚的时候到电脑adb shell pm list package -3 列出第三方的应用
adb shell pm path 包名 (包名:top.animal.happy.winner)
adb pull 路径 D:\appDir (路径:/data/app/top.animal.happy.winner-GnXdpgYY-C8NbVZHyjicNQ==/base.apk)