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