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