$ git clone -n https://gitee.com/src-opencloudos-rpms/python-black.git /var/lib/mock/dist-oc9-epol-build-55938-14787/root/chroot_tmpdir/scmroot/python-black Cloning into '/var/lib/mock/dist-oc9-epol-build-55938-14787/root/chroot_tmpdir/scmroot/python-black'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-black * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 898a1f6 import python-black-22.12.0-2.tl4