$ git clone -n https://gitee.com/fundawang/anolis-php.git /var/lib/mock/dist-an23-build-308453-67129/root/chroot_tmpdir/scmroot/anolis-php Cloning into '/var/lib/mock/dist-an23-build-308453-67129/root/chroot_tmpdir/scmroot/anolis-php'... $ git fetch origin 7ecfc233a6b28d73eff707f0c5579874e9b1b0c3:KOJI_FETCH_HEAD From https://gitee.com/fundawang/anolis-php * [new ref] 7ecfc233a6b28d73eff707f0c5579874e9b1b0c3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7ecfc23 8.2.11