$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/compat-exiv2-026.git /var/lib/mock/dist-an8_4-build-27080-15080/root/chroot_tmpdir/scmroot/compat-exiv2-026 Cloning into '/var/lib/mock/dist-an8_4-build-27080-15080/root/chroot_tmpdir/scmroot/compat-exiv2-026'... $ git reset --hard origin/a8 HEAD is now at 2c918b4 update to compat-exiv2-026-0.26-4.el8_4.src.rpm