$ git clone -n https://gitee.com/lzq11122/qemu.git /var/lib/mock/dist-an23.3-build-449769-73444/root/chroot_tmpdir/scmroot/qemu Cloning into '/var/lib/mock/dist-an23.3-build-449769-73444/root/chroot_tmpdir/scmroot/qemu'... $ git fetch origin 014f56ab46379c924cc1d49fd616c3d5a4e76010:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/qemu * [new ref] 014f56ab46379c924cc1d49fd616c3d5a4e76010 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 014f56a test