$ git clone -n https://gitee.com/src-opencloudos-rpms/subunit.git /var/lib/mock/dist-oc9-build-72079-47636/root/chroot_tmpdir/scmroot/subunit Cloning into '/var/lib/mock/dist-oc9-build-72079-47636/root/chroot_tmpdir/scmroot/subunit'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/subunit * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at df785eb import subunit-1.4.2-6.tl4