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