1、Install depot_tools
1、git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
2、export PATH="$PATH:/path/to/depot_tools"
3、export PATH="$PATH:${HOME}/depot_tools"
2、Get the code
1、mkdir ~/chromium && cd ~/chromium
2、fetch --nohooks chromium
3、Modify push url
1、git remote set-url --push origin git@gitlab.xxxx.xxxx.com:xxx/xxx.git
2、git remote -v // 检查是否设置成功
4、Push code and tags
1、git push // 推送代码
2、git push origin --tags // 推送tags
本文档详细介绍了如何安装depot_tools,获取Chromium源码,修改远程推送URL,并进行代码和tag的推送。步骤包括克隆depot_tools,设置环境变量,创建并进入chromium目录,使用fetch命令获取代码,然后将推送URL改为GitLab,最后推送代码和tags。
1608

被折叠的 条评论
为什么被折叠?



