$ git clone -n https://gitee.com/fundawang/python-docs.git /var/lib/mock/dist-an23-build-273124-64184/root/chroot_tmpdir/scmroot/python-docs Cloning into '/var/lib/mock/dist-an23-build-273124-64184/root/chroot_tmpdir/scmroot/python-docs'... $ git fetch origin a283f23db449476ec2c39bc6246d56b55d8142b5:KOJI_FETCH_HEAD From https://gitee.com/fundawang/python-docs * [new ref] a283f23db449476ec2c39bc6246d56b55d8142b5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a283f23 3.10.12