$ git clone -n https://gitee.com/opencloudos-stream/gpaw-setups.git /var/lib/mock/dist-oc9-epol-build-90344-59021/root/chroot_tmpdir/scmroot/gpaw-setups Cloning into '/var/lib/mock/dist-oc9-epol-build-90344-59021/root/chroot_tmpdir/scmroot/gpaw-setups'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gpaw-setups * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1d6e5c9 package init