$ git clone -n https://gitee.com/src-anolis-test/dbus.git /var/lib/mock/dist-an8.4-internal-build-57596-28979/root/chroot_tmpdir/scmroot/dbus Cloning into '/var/lib/mock/dist-an8.4-internal-build-57596-28979/root/chroot_tmpdir/scmroot/dbus'... $ git reset --hard origin/a8-temp-1.12.8-12.el8 HEAD is now at af4894f import dbus-1.12.8-12.el8.src.rpm