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