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