$ git clone -n https://gitee.com/src-opencloudos-rpms/python-gitdb.git /var/lib/mock/dist-oc9-epol-build-53924-14768/root/chroot_tmpdir/scmroot/python-gitdb Cloning into '/var/lib/mock/dist-oc9-epol-build-53924-14768/root/chroot_tmpdir/scmroot/python-gitdb'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-gitdb * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e74e66d import python-gitdb-4.0.10-3.tl4