$ git clone -n https://gitee.com/src-opencloudos-rpms/python-oslo-db.git /var/lib/mock/dist-oc9-epol-build-54743-14768/root/chroot_tmpdir/scmroot/python-oslo-db Cloning into '/var/lib/mock/dist-oc9-epol-build-54743-14768/root/chroot_tmpdir/scmroot/python-oslo-db'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-oslo-db * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c24f31 import python-oslo-db-8.5.1-2.tl4