$ git clone -n https://gitee.com/guost123/libglvnd.git /var/lib/mock/dist-an23.3-build-431443-73055/root/chroot_tmpdir/scmroot/libglvnd Cloning into '/var/lib/mock/dist-an23.3-build-431443-73055/root/chroot_tmpdir/scmroot/libglvnd'... $ git fetch origin 1a0f5901115cdda7e8757bb1c87f748fcb8a35ba:KOJI_FETCH_HEAD From https://gitee.com/guost123/libglvnd * [new ref] 1a0f5901115cdda7e8757bb1c87f748fcb8a35ba -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1a0f590 adapt for riscv64