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