常用的命令

git相关

全局配置查询
git config --global --list
git config –global user.name “xxx”
git config –global user.email “xxx”

adb

推送apk到手机
adb -s V4J9XAT561302016(替换自己设备名) install -r D:\...\app-release.apk

其他

// 滚屏减少
dmesg -n1
// 查看空间
df -h
// Linux中关闭SELinux的方法
临时关闭:输入命令,重启系统后还会开启
su \r
setenforce 0
用命令getenforce查看当前SELinux 强制 (enforcing) 或宽容 (permissive)
eg:
console:/ # setenforce 1
console:/ # getenforce
Enforcing
console:/ # setenforce 0
console:/ # getenforce
Permissive
adb shell wm size reset//重置分辨率,恢复到默认
adb shell wm size 1440x1920//中间是字母x
posted @   阿丟啊  阅读(14)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· NetPad:一个.NET开源、跨平台的C#编辑器
· PowerShell开发游戏 · 打蜜蜂
点击右上角即可分享
微信分享提示