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