$ git clone -n https://gitee.com/jinzihao/sample.git /var/lib/mock/dist-an23-build-595387-102111/root/chroot_tmpdir/scmroot/sample Cloning into '/var/lib/mock/dist-an23-build-595387-102111/root/chroot_tmpdir/scmroot/sample'... $ git reset --hard master HEAD is now at 271a561 Release 29: add source tarball for clean-clone builds