$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test2-Plugin-NoWarnings.git /var/lib/mock/dist-oc9-build-51014-14595/root/chroot_tmpdir/scmroot/perl-Test2-Plugin-NoWarnings Cloning into '/var/lib/mock/dist-oc9-build-51014-14595/root/chroot_tmpdir/scmroot/perl-Test2-Plugin-NoWarnings'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/perl-Test2-Plugin-NoWarnings * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b1040e import perl-Test2-Plugin-NoWarnings-0.09-3.tl4