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