$ git clone -n https://gitee.com/src-anolis-os/exiv2.git /var/lib/mock/dist-an8-build-60039-33059/root/chroot_tmpdir/scmroot/exiv2 Cloning into '/var/lib/mock/dist-an8-build-60039-33059/root/chroot_tmpdir/scmroot/exiv2'... $ git reset --hard origin/a8 HEAD is now at 926bca3 update to exiv2-0.27.4-5.el8