$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Devel-Size.git /var/lib/mock/dist-oc9-build-71127-47517/root/chroot_tmpdir/scmroot/perl-Devel-Size Cloning into '/var/lib/mock/dist-oc9-build-71127-47517/root/chroot_tmpdir/scmroot/perl-Devel-Size'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/perl-Devel-Size * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1989900 import perl-Devel-Size-0.83-5.tl4