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
五、友情链接
别人总结的比较到位了,避免重复造轮子,直接看别人的总结吧。
repo forall -c 'git reset --hard HEAD && git clean -df' repo sync -c --no-tags -r xx
将vim 设置成git 的默认编辑器:git config --global core.editor vim
别人总结的比较到位了,避免重复造轮子,直接看别人的总结吧。