$ git clone -n https://gitee.com/happy_orange/mysql-selinux.git /var/lib/mock/dist-an8.6-build-106587-45644/root/chroot_tmpdir/scmroot/mysql-selinux Cloning into '/var/lib/mock/dist-an8.6-build-106587-45644/root/chroot_tmpdir/scmroot/mysql-selinux'... $ git reset --hard e79fcab89e77738922d11745b2f507ee2f9ff870 HEAD is now at e79fcab init pacakge from upstream