$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/microdnf.git /var/lib/mock/dist-an8.4-build-21500-10074/root/chroot_tmpdir/scmroot/microdnf Cloning into '/var/lib/mock/dist-an8.4-build-21500-10074/root/chroot_tmpdir/scmroot/microdnf'... $ git reset --hard origin/a8 HEAD is now at 8bfe3a6 update to microdnf-3.4.0-4.el8.src.rpm