$ git clone -n https://gitee.com/src-opencloudos-rpms/apr.git /var/lib/mock/dist-oc9-build-69466-47299/root/chroot_tmpdir/scmroot/apr Cloning into '/var/lib/mock/dist-oc9-build-69466-47299/root/chroot_tmpdir/scmroot/apr'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/apr * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0ce47c import apr-1.7.4-2.tl4