$ git clone -n https://gitee.com/src-anolis-os/python-ply.git /var/lib/mock/dist-an23.4-build-524061-77301/root/chroot_tmpdir/scmroot/python-ply Cloning into '/var/lib/mock/dist-an23.4-build-524061-77301/root/chroot_tmpdir/scmroot/python-ply'... $ git fetch origin a23.4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python-ply * [new branch] a23.4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b0a4b78 Update source0