$ git clone -n https://gitee.com/opencloudos-stream/ghc-extensible-exceptions.git /var/lib/mock/dist-oc9-epol-build-90316-59015/root/chroot_tmpdir/scmroot/ghc-extensible-exceptions Cloning into '/var/lib/mock/dist-oc9-epol-build-90316-59015/root/chroot_tmpdir/scmroot/ghc-extensible-exceptions'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-extensible-exceptions * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42fd76d update