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