$ git clone -n https://gitee.com/src-anolis-os/rpm-mpi-hooks.git /var/lib/mock/dist-an8-build-63247-35182/root/chroot_tmpdir/scmroot/rpm-mpi-hooks Cloning into '/var/lib/mock/dist-an8-build-63247-35182/root/chroot_tmpdir/scmroot/rpm-mpi-hooks'... $ git reset --hard origin/a8 HEAD is now at 53127f3 update to rpm-mpi-hooks-8-2.el8