$ git clone -n https://gitee.com/zhaohang_mskdxl/apr.git /var/lib/mock/dist-an23.3-build-420255-72884/root/chroot_tmpdir/scmroot/apr Cloning into '/var/lib/mock/dist-an23.3-build-420255-72884/root/chroot_tmpdir/scmroot/apr'... $ git fetch origin c86d72a44ad921c1424c88ec17aab584012ec6dd:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/apr * [new ref] c86d72a44ad921c1424c88ec17aab584012ec6dd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c86d72a update to apr-1.7.5