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