$ git clone -n https://gitee.com/wz002/libglvnd.git /var/lib/mock/dist-an23.3-build-417879-72870/root/chroot_tmpdir/scmroot/libglvnd Cloning into '/var/lib/mock/dist-an23.3-build-417879-72870/root/chroot_tmpdir/scmroot/libglvnd'... $ git fetch origin 9cb2b04b65c551a21b1ac1df8fc07f10df198f4f:KOJI_FETCH_HEAD From https://gitee.com/wz002/libglvnd * [new ref] 9cb2b04b65c551a21b1ac1df8fc07f10df198f4f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9cb2b04 update to libglvnd-1.7.0-7