$ git clone -n https://gitee.com/opencloudos-stream/ghc-concurrent-output.git /var/lib/mock/dist-oc9-epol-build-82329-57103/root/chroot_tmpdir/scmroot/ghc-concurrent-output Cloning into '/var/lib/mock/dist-oc9-epol-build-82329-57103/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