$ git clone -n https://gitee.com/opencloudos-stream/ghc-bsb-http-chunked.git /var/lib/mock/dist-oc9-epol-build-90969-59137/root/chroot_tmpdir/scmroot/ghc-bsb-http-chunked Cloning into '/var/lib/mock/dist-oc9-epol-build-90969-59137/root/chroot_tmpdir/scmroot/ghc-bsb-http-chunked'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-bsb-http-chunked * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f737d21 package init