$ git clone -n https://gitee.com/opencloudos-stream/ghc-uuid-types.git /var/lib/mock/dist-ocs23-epol9-build-159007-10046/root/chroot_tmpdir/scmroot/ghc-uuid-types Cloning into '/var/lib/mock/dist-ocs23-epol9-build-159007-10046/root/chroot_tmpdir/scmroot/ghc-uuid-types'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-uuid-types * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e22b10b package init