$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libstoragemgmt.git /var/lib/mock/dist-an8.4-build-19530-8448/root/chroot_tmpdir/scmroot/libstoragemgmt Cloning into '/var/lib/mock/dist-an8.4-build-19530-8448/root/chroot_tmpdir/scmroot/libstoragemgmt'... $ git reset --hard origin/a8 HEAD is now at 76d8a14 update to libstoragemgmt-1.8.7-1.el8.src.rpm