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