$ git clone -n https://gitee.com/cobratoxin/socat.git /var/lib/mock/dist-an8.7-build-273861-64202/root/chroot_tmpdir/scmroot/socat Cloning into '/var/lib/mock/dist-an8.7-build-273861-64202/root/chroot_tmpdir/scmroot/socat'... $ git fetch origin 97fb74334f0527182b5b0799f798fc9d10eef23e:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/socat * [new ref] 97fb74334f0527182b5b0799f798fc9d10eef23e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 97fb743 add doc sub package