$ git clone -n https://gitee.com/xiaolunfhb/xz.git /var/lib/mock/dist-an8_6-build-94207-45483/root/chroot_tmpdir/scmroot/xz Cloning into '/var/lib/mock/dist-an8_6-build-94207-45483/root/chroot_tmpdir/scmroot/xz'... $ git reset --hard origin/a8 HEAD is now at a1a84de import xz-5.2.4-3.el8.src.rpm