$ git clone -n https://gitee.com/dian-ws/diffutils.git /var/lib/mock/dist-an23-build-192460-60804/root/chroot_tmpdir/scmroot/diffutils Cloning into '/var/lib/mock/dist-an23-build-192460-60804/root/chroot_tmpdir/scmroot/diffutils'... $ git reset --hard 555a193e33b3e1b335c4f463c0ee932795ca48e5 HEAD is now at 555a193 update spec file and add some patches