$ git clone -n https://gitee.com/src-opencloudos-rpms/python-osc-lib.git /var/lib/mock/dist-oc9-epol-build-56180-14802/root/chroot_tmpdir/scmroot/python-osc-lib Cloning into '/var/lib/mock/dist-oc9-epol-build-56180-14802/root/chroot_tmpdir/scmroot/python-osc-lib'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-osc-lib * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 26f2357 import python-osc-lib-2.3.1-2.tl4