$ git clone -n https://gitee.com/src-anolis-os/cgdcbxd.git /var/lib/mock/dist-an8-poc-build-100380-45595/root/chroot_tmpdir/scmroot/cgdcbxd Cloning into '/var/lib/mock/dist-an8-poc-build-100380-45595/root/chroot_tmpdir/scmroot/cgdcbxd'... $ git reset --hard origin/a8-poc HEAD is now at 8e385c1 import cgdcbxd-1.0.2-9.el8.src.rpm