$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-Fatal.git /var/lib/mock/dist-oc9-build-71362-47547/root/chroot_tmpdir/scmroot/perl-Test-Fatal Cloning into '/var/lib/mock/dist-oc9-build-71362-47547/root/chroot_tmpdir/scmroot/perl-Test-Fatal'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/perl-Test-Fatal * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 78795a6 import perl-Test-Fatal-0.017-2.tl4