$ git clone -n https://gitee.com/wenyuzifang/xmlto.git /var/lib/mock/dist-an23-build-486886-74383/root/chroot_tmpdir/scmroot/xmlto Cloning into '/var/lib/mock/dist-an23-build-486886-74383/root/chroot_tmpdir/scmroot/xmlto'... $ git fetch origin 70cb31f3d3aa86df1299cef7f5ba0827c5edf413:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/xmlto * [new ref] 70cb31f3d3aa86df1299cef7f5ba0827c5edf413 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 70cb31f Update code from upstream