$ git clone -n https://gitee.com/ocs-upgrade/xdp-tools.git /var/lib/mock/dist-ocs23-build-284745-27555/root/chroot_tmpdir/scmroot/xdp-tools Cloning into '/var/lib/mock/dist-ocs23-build-284745-27555/root/chroot_tmpdir/scmroot/xdp-tools'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/xdp-tools * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5939743 Upgrade to version 1.4.3