鏇存柊鏂囨。

This commit is contained in:
renjianbo
2026-01-13 14:38:46 +08:00
parent 014ef65606
commit 311db72900
6 changed files with 31 additions and 48 deletions

View File

@@ -6,53 +6,13 @@ git config --global user.name "renjianbo"
git config --global user.email "18691577328@qq.com"
查看特定应用的进程
adb shell ps | grep com.xunpaisoft.social
android 获取当前页面的 activity adb shell "dumpsys window | grep mCurrentFocus"
# 安装 commit-msg 钩子
curl -Lo .git/hooks/commit-msg http://gerrit:8080/tools/hooks/commit-msg
chmod +x .git/hooks/commit-msg
# 为现有提交添加 Change-Id
git commit --amend --no-edit # 重新提交,钩子会自动添加
提交代码时的钩子
curl -o ".git/hooks/commit-msg"http://101.43.95.130:8082/tools/hooks/commit-msgchmod +x ".git/hooks/commit-msg"
git commit --amend --no-edit
# 手动执行清理脚本
/home/renjianbo/gerrit/cleanup_cursor_server.sh
# 或者直接清理(临时解决)
pkill -f "cursor-server"
gerrit每日工作流程
# 早上
git fetch origin
git rebase origin/master # 更新本地代码
# 开发中
git add .
git commit -m "..."
# 推送前
git pull --rebase origin master # 再次更新
解决冲突(如果有)
git push origin HEAD:refs/for/master
# 查看 Gerrit 反馈
# 根据评审意见修改
oppo测试命令

View File

@@ -2,6 +2,15 @@ curse 网站续费 https://cursor.com/cn/dashboard
pkill -f "cursor-server"
# 手动执行清理脚本
/home/renjianbo/gerrit/cleanup_cursor_server.sh
# 或者直接清理(临时解决)
pkill -f "cursor-server"
联通大王卡号13022988679

View File

@@ -0,0 +1,15 @@
# 早上
git fetch origin
git rebase origin/master # 更新本地代码
# 开发中
git add .
git commit -m "..."
# 推送前
git pull --rebase origin master # 再次更新
解决冲突(如果有)
git push origin HEAD:refs/for/master
# 查看 Gerrit 反馈
# 根据评审意见修改

View File

@@ -1 +0,0 @@
hello