$ git clone -n https://gitee.com/opencloudos-stream/ghc-wai-cors.git /var/lib/mock/dist-oc9-epol-build-102130-65960/root/chroot_tmpdir/scmroot/ghc-wai-cors Cloning into '/var/lib/mock/dist-oc9-epol-build-102130-65960/root/chroot_tmpdir/scmroot/ghc-wai-cors'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-wai-cors * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4ad6007 update