$ git clone -n https://gitee.com/opencloudos-stream/xdpyinfo.git /var/lib/mock/dist-oc9-epol-build-99936-60536/root/chroot_tmpdir/scmroot/xdpyinfo Cloning into '/var/lib/mock/dist-oc9-epol-build-99936-60536/root/chroot_tmpdir/scmroot/xdpyinfo'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/xdpyinfo * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c708dfe update