$ git clone -n https://gitee.com/src-anolis-os/python.git /var/lib/mock/dist-an7_9-updates-build-332247-69566/root/chroot_tmpdir/scmroot/python Cloning into '/var/lib/mock/dist-an7_9-updates-build-332247-69566/root/chroot_tmpdir/scmroot/python'... $ git fetch origin a7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python * [new branch] a7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eb98901 Update to python-2.7.5-94.el7_9