repo&git 相关操作

一、下载代码

 

二、更新代码

repo forall -c 'git reset --hard HEAD && git clean -df'
repo sync -c --no-tags -r xx

三、cherry-pick

四、环境设置

将vim 设置成git 的默认编辑器:git config --global core.editor vim

五、友情链接

别人总结的比较到位了,避免重复造轮子,直接看别人的总结吧。

https://blog.csdn.net/Danny_llp/article/details/123055427

posted @ 2023-03-29 15:37  皓然123  阅读(41)  评论(0)    收藏  举报