$ git clone -n https://gitee.com/opencloudos-stream/ghc-abstract-par.git /var/lib/mock/dist-oc9-epol-build-101538-65848/root/chroot_tmpdir/scmroot/ghc-abstract-par Cloning into '/var/lib/mock/dist-oc9-epol-build-101538-65848/root/chroot_tmpdir/scmroot/ghc-abstract-par'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-abstract-par * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 55f42fc update