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