$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/thermald.git /var/lib/mock/dist-an8.4-build-21624-10265/root/chroot_tmpdir/scmroot/thermald Cloning into '/var/lib/mock/dist-an8.4-build-21624-10265/root/chroot_tmpdir/scmroot/thermald'... $ git reset --hard origin/a8 HEAD is now at 6d1294c import thermald-2.4.1-2.el8.src.rpm