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