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