梳理下 gerrit 不好用的地方
- git clone 的时候出现 no matching host key type found. Their offer: ssh-rsa
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
配置这个解决。
话说,github gitlab 哪有这种问题 ?? 易用性极差, 可谓一步一卡
- 从 github 同步代码
git remote add github git@github.com:kubeovn/kube-ovn.git
git fetch github
- cherry-pick github 的代码,git commit --amend 按照 “死板” 的模版逐个回合
真是琐碎啊,一点用的东西都没有,还要一个个的回合。
git cherry-pick < commit id>;
git commit --amend
- 在 gerrit 页面 rebase 会导致已有的 +1 +2 丢失