$ git clone -n https://gitee.com/dashnfschina/qemu.git /var/lib/mock/dist-an23-build-python3.11-403214-72390/root/chroot_tmpdir/scmroot/qemu Cloning into '/var/lib/mock/dist-an23-build-python3.11-403214-72390/root/chroot_tmpdir/scmroot/qemu'... $ git fetch origin 1a36e50cdda1a231cf546a94da9e4b26d383b2f9:KOJI_FETCH_HEAD From https://gitee.com/dashnfschina/qemu * [new ref] 1a36e50cdda1a231cf546a94da9e4b26d383b2f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1a36e50 remove all patch