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