$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/qatlib.git /var/lib/mock/dist-an8.4-build-20564-8944/root/chroot_tmpdir/scmroot/qatlib Cloning into '/var/lib/mock/dist-an8.4-build-20564-8944/root/chroot_tmpdir/scmroot/qatlib'... $ git reset --hard origin/a8 HEAD is now at b8dc011 import qatlib-20.10.0-3.el8.src.rpm