$ git clone -n http://gitee.com/src-anolis-sig/loongarch-kernel.git /var/lib/mock/dist-an8.8-build-278005-64416/root/chroot_tmpdir/scmroot/loongarch-kernel Cloning into '/var/lib/mock/dist-an8.8-build-278005-64416/root/chroot_tmpdir/scmroot/loongarch-kernel'... warning: redirecting to https://gitee.com/src-anolis-sig/loongarch-kernel.git/ $ git fetch origin master:KOJI_FETCH_HEAD warning: redirecting to https://gitee.com/src-anolis-sig/loongarch-kernel.git/ From http://gitee.com/src-anolis-sig/loongarch-kernel * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2952c1d !2 release 4.19.190-7.6 Merge pull request !2 from lslwh/master