$ git clone -n https://gitee.com/src-anolis-os/python-unidiff.git /var/lib/mock/dist-an23.4-build-536046-82199/root/chroot_tmpdir/scmroot/python-unidiff Cloning into '/var/lib/mock/dist-an23.4-build-536046-82199/root/chroot_tmpdir/scmroot/python-unidiff'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python-unidiff * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f8e2f50 [Feature] [Upstream] Init package python-unidiff-0.7.5