$ git clone -n https://gitee.com/yan1hcdc/qemu.git /var/lib/mock/dist-an23-build-443250-73188/root/chroot_tmpdir/scmroot/qemu Cloning into '/var/lib/mock/dist-an23-build-443250-73188/root/chroot_tmpdir/scmroot/qemu'... $ git fetch origin de4c2f5f3202ae10d5304d52da27747b9345e341:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/qemu * [new ref] de4c2f5f3202ae10d5304d52da27747b9345e341 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de4c2f5 Merge branch 'a23' of gitee.com:src-anolis-os/qemu into a23