$ git clone -n https://gitee.com/src-opencloudos-rpms/pcre.git /var/lib/mock/dist-oc9-build-121296-71610/root/chroot_tmpdir/scmroot/pcre Cloning into '/var/lib/mock/dist-oc9-build-121296-71610/root/chroot_tmpdir/scmroot/pcre'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/pcre * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 03b1212 import pcre-8.45-8.tl4