$ git clone -n https://gitee.com/src-anolis-os/gdisk.git /var/lib/mock/dist-lifsea8-build-75590-39259/root/chroot_tmpdir/scmroot/gdisk Cloning into '/var/lib/mock/dist-lifsea8-build-75590-39259/root/chroot_tmpdir/scmroot/gdisk'... $ git reset --hard origin/a8 HEAD is now at af8d70c import gdisk-1.0.3-6.el8.src.rpm