$ git clone -n https://gitee.com/src-opencloudos-rpms/subunit.git /var/lib/mock/dist-oc9-build-49524-14595/root/chroot_tmpdir/scmroot/subunit Cloning into '/var/lib/mock/dist-oc9-build-49524-14595/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 1bfbfd6 import subunit-1.4.2-4.tl4