$ git clone -n https://gitee.com/src-anolis-epao/wordpress.git /var/lib/mock/dist-an23-epao-build-298763-65850/root/chroot_tmpdir/scmroot/wordpress Cloning into '/var/lib/mock/dist-an23-epao-build-298763-65850/root/chroot_tmpdir/scmroot/wordpress'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-epao/wordpress * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 315c143 init upstream from version 6.2.2