$ git clone -n https://gitee.com/ywyw22/diffutils /var/lib/mock/dist-an8.6-build-195471-60841/root/chroot_tmpdir/scmroot/diffutils Cloning into '/var/lib/mock/dist-an8.6-build-195471-60841/root/chroot_tmpdir/scmroot/diffutils'... $ git reset --hard bdafab5df2e607e32ad348b97e8275ed5d807cd9 HEAD is now at bdafab5 update spec file and add some patches