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