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