$ git clone -n https://gitee.com/opencloudos-stream/ghc-blaze-textual.git /var/lib/mock/dist-oc9-epol-build-101574-65856/root/chroot_tmpdir/scmroot/ghc-blaze-textual Cloning into '/var/lib/mock/dist-oc9-epol-build-101574-65856/root/chroot_tmpdir/scmroot/ghc-blaze-textual'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-blaze-textual * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 748a2e0 update