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