$ git clone -n https://gitee.com/src-opencloudos-rpms/apr-util /var/lib/mock/dist-oc8-build-56891-15178/root/chroot_tmpdir/scmroot/apr-util Cloning into '/var/lib/mock/dist-oc8-build-56891-15178/root/chroot_tmpdir/scmroot/apr-util'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/apr-util * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f5b0b42 import apr-util-1.6.1-6.tl3.1