$ git clone -n https://gitee.com/opencloudos-stream/libXcomposite /var/lib/mock/dist-ocs23-build-28-4/root/chroot_tmpdir/scmroot/libXcomposite Cloning into '/var/lib/mock/dist-ocs23-build-28-4/root/chroot_tmpdir/scmroot/libXcomposite'... $ git fetch origin ce5e6b5cfb412147361f056cffc8cf3c9ce3a5ab:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libXcomposite * [new ref] ce5e6b5cfb412147361f056cffc8cf3c9ce3a5ab -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce5e6b5 init repo