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