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