$ git clone -n https://gitee.com/gordonwwang/libX11.git /var/lib/mock/dist-ocs23-build-180896-12015/root/chroot_tmpdir/scmroot/libX11 Cloning into '/var/lib/mock/dist-ocs23-build-180896-12015/root/chroot_tmpdir/scmroot/libX11'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/gordonwwang/libX11 * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6394417 Upgrade to 1.8.7