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