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