git步骤备份
1. How to get code
1.0 sign-in gerrit (only for the very first time)
- login with your LDAP account on http://216.224.176.142:8080/
- setup Preferred email, you need go to your email box to click the link ( if you don't get the email in minutes, please check your spam box)
- upload your ~/.ssh/id_rsa.pub (http://216.224.176.142:8080/#/settings/ssh-keys)
- if you dont have an existing id_rsa.pub, run the following command to create it:
§ ssh-keygen -t rsa
1.1 Nexus 7
- repo init -u ssh://<your_ldap_id>@216.224.176.142:29418/gmpoc/manifest -m gmpoc.xml
- repo sync
- source build/envsetup.sh
- lunch gm_grouper-userdebug or lunch 8
- make -j4
1.2 TI
- repo init -u ssh://<your_ldap_id>@216.224.176.142:29418/ti/panda5/platform/omapmanifest -b gmpoc_maindev -m gmpoc_panda5.xml
- repo sync
- source build/envsetup.sh
- Android Panda 5
- lunch gm_panda5-userdebug
- Greenhills Panda 5
- lunch gm_ghs_panda5-userdebug
- make -j4
2.Modify git config and commit code
Modify the user.name of git.
Command: git config --global user.name <your_ldap_account>
replace the red part with your ldap account.
Before doing code commit checkout a branch for gmpoc/gmpoc_maindev
Command: git checkout -b <your_local_branch>
gmpoc/gmpoc_maindev
Push command: git push gmpoc
<your_local_branch>:refs/for/gmpoc_maindev
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 一次Java后端服务间歇性响应慢的问题排查记录
· 互联网不景气了那就玩玩嵌入式吧,用纯.NET开发并制作一个智能桌面机器人(四):结合BotSharp
· Vite CVE-2025-30208 安全漏洞
· 《HelloGitHub》第 108 期
· MQ 如何保证数据一致性?
· 一个基于 .NET 开源免费的异地组网和内网穿透工具