$ git clone -n https://gitee.com/wency_cn/socat.git /var/lib/mock/dist-an23-build-494472-74593/root/chroot_tmpdir/scmroot/socat Cloning into '/var/lib/mock/dist-an23-build-494472-74593/root/chroot_tmpdir/scmroot/socat'... $ git fetch origin 6396b0adeb41d4f666bc9616e8e08d539bf18657:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/socat * [new ref] 6396b0adeb41d4f666bc9616e8e08d539bf18657 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6396b0a Update code from upstream