$ git clone -n https://gitee.com/ocs-bot/libusbx.git /var/lib/mock/dist-ocs23-build-172172-10529/root/chroot_tmpdir/scmroot/libusbx Cloning into '/var/lib/mock/dist-ocs23-build-172172-10529/root/chroot_tmpdir/scmroot/libusbx'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/libusbx * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4390bec Upgrade to version 1.0.27