$ git clone -n https://gitee.com/dian-ws/diffutils.git /var/lib/mock/dist-an23-build-192390-60804/root/chroot_tmpdir/scmroot/diffutils Cloning into '/var/lib/mock/dist-an23-build-192390-60804/root/chroot_tmpdir/scmroot/diffutils'... $ git fetch origin 576b09859791e45ee5d53c08e1eda54470c30b13:KOJI_FETCH_HEAD From https://gitee.com/dian-ws/diffutils * [new ref] 576b09859791e45ee5d53c08e1eda54470c30b13 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 576b098 update spec file and add some patches