$ git clone -n https://gitee.com/fundawang/anolis-php.git /var/lib/mock/dist-an23-build-297492-65830/root/chroot_tmpdir/scmroot/anolis-php Cloning into '/var/lib/mock/dist-an23-build-297492-65830/root/chroot_tmpdir/scmroot/anolis-php'... $ git fetch origin 49d1bc625f2d5002ab055f1b84899f247ad4e8d4:KOJI_FETCH_HEAD From https://gitee.com/fundawang/anolis-php * [new ref] 49d1bc625f2d5002ab055f1b84899f247ad4e8d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 49d1bc6 8.2.10