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