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