$ git clone -n https://gitee.com/ocs-upgrade/libspectre.git /var/lib/mock/dist-ocs23-build-212943-15387/root/chroot_tmpdir/scmroot/libspectre Cloning into '/var/lib/mock/dist-ocs23-build-212943-15387/root/chroot_tmpdir/scmroot/libspectre'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/libspectre * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1d28644 Upgrade to version 0.2.12