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