$ git clone -n https://gitee.com/mgb01105731/gssdp.git /var/lib/mock/dist-an23-build-337701-69712/root/chroot_tmpdir/scmroot/gssdp Cloning into '/var/lib/mock/dist-an23-build-337701-69712/root/chroot_tmpdir/scmroot/gssdp'... $ git reset --hard df80c64f272d719f2b78cd16f889f1fe64f62fc9 HEAD is now at df80c64 rebuild