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