$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Module-Package.git /var/lib/mock/dist-oc9-build-49153-14595/root/chroot_tmpdir/scmroot/perl-Module-Package Cloning into '/var/lib/mock/dist-oc9-build-49153-14595/root/chroot_tmpdir/scmroot/perl-Module-Package'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/perl-Module-Package * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0a0a726 import perl-Module-Package-0.30-3.tl4