$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Digest-SHA.git /var/lib/mock/dist-oc9-build-43552-14591/root/chroot_tmpdir/scmroot/perl-Digest-SHA Cloning into '/var/lib/mock/dist-oc9-build-43552-14591/root/chroot_tmpdir/scmroot/perl-Digest-SHA'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/perl-Digest-SHA * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a5a0df2 import perl-Digest-SHA-6.03-3.tl4