$ git clone -n https://gitee.com/lzq11122/libguestfs.git /var/lib/mock/dist-an23-build-570631-92678/root/chroot_tmpdir/scmroot/libguestfs Cloning into '/var/lib/mock/dist-an23-build-570631-92678/root/chroot_tmpdir/scmroot/libguestfs'... $ git fetch origin 29f7fc85c10a6a197365f175c999d91c081db351:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/libguestfs * [new ref] 29f7fc85c10a6a197365f175c999d91c081db351 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 29f7fc8 test