$ git clone -n https://gitee.com/gaohongmei/mtr.git /var/lib/mock/dist-an23-build-257362-63730/root/chroot_tmpdir/scmroot/mtr Cloning into '/var/lib/mock/dist-an23-build-257362-63730/root/chroot_tmpdir/scmroot/mtr'... $ git reset --hard dbdf56cc796ad0b52984bd25b4d53eaaf9800971 HEAD is now at dbdf56c optimise spec file