$ git clone -n https://gitee.com/src-opencloudos-rpms/python-imagesize.git /var/lib/mock/dist-oc9-build-71617-47577/root/chroot_tmpdir/scmroot/python-imagesize Cloning into '/var/lib/mock/dist-oc9-build-71617-47577/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 c6e4e00 import python-imagesize-1.4.1-1.tl4