$ git clone -n https://gitee.com/src-opencloudos-rpms/python-GitPython.git /var/lib/mock/dist-oc9-build-53082-14748/root/chroot_tmpdir/scmroot/python-GitPython Cloning into '/var/lib/mock/dist-oc9-build-53082-14748/root/chroot_tmpdir/scmroot/python-GitPython'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-GitPython * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f43b9eb import python-GitPython-3.1.30-2.tl4