$ git clone -n https://gitee.com/mgb01105731/mtools_2.git /var/lib/mock/dist-an23-build-168621-58839/root/chroot_tmpdir/scmroot/mtools_2 Cloning into '/var/lib/mock/dist-an23-build-168621-58839/root/chroot_tmpdir/scmroot/mtools_2'... $ git reset --hard e899505a5db70bd648710a333d7a978d8fa3d415 HEAD is now at e899505 remove SAMPLE in mtools.conf file