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